Problem 1036: (2012 AMC 10a, 24; 2012 AMC 12a, 21)
Let $a$, $b$, and $c$ be positive integers with $a\ge b\ge c$ such that \begin{align*}a^2-b^2-c^2+ab&=2011\text{ and}\\ a^2+3b^2+3c^2-3ab-2ac-2bc&=-1997.\end{align*} What is $a$?
$\textbf{(A)}\ 249$ $\textbf{(B)}\ 250$ $\textbf{(C)}\ 251$ $\textbf{(D)}\ 252$ $\textbf{(E)}\ 253$
- Adding the equations: $2a^2+2b^2+2c^2-2ab-2bc-2ca=14$, i.e.\ $(a-b)^2+(b-c)^2+(c-a)^2=14$. With $p=a-b\ge0$, $q=b-c\ge0$ this is $p^2+q^2+(p+q)^2=14$, i.e.\ $p^2+pq+q^2=7$, whose only solutions are $\{p,q\}=\{1,2\}$.
- $a-b=2$, $b-c=1$: the first equation becomes $8a-13=2011$, so $a=253$. $a-b=1$, $b-c=2$: it becomes $7a-10=2011$, not an integer solution.
- The answer is (E).
Positive integers $a\ge b\ge c$ satisfy $2a^2-b^2-c^2+bc-ac=1181$ and $3b^2+3c^2-2ab-3bc-ac=-1143$. What is $a$?