document.write( "Question 569241: Let a, b,c be positive integers with a>=b>=c such that\r
\n" ); document.write( "\n" ); document.write( "a^2 - b^2 - c^2 +ab=2011
\n" ); document.write( "and
\n" ); document.write( "a^2 + 3b^2 + 3c^2 -3ab -2ac-2bc=-1997
\n" ); document.write( "what is a?
\n" ); document.write( "

Algebra.Com's Answer #367336 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
It is generally best to avoid posting this question until the day after the AMC10/12A exams (yes, I took this exam as well). But since it's pretty late in the day, I'll show the solution. Make sure not to publicize it to anyone else.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Adding both equations (I should have done this myself during the exam...I tried adding three times the first equation to the second equation and got nowhere).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This factors to\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Essentially we have three square numbers adding to 14, so the only possibility is {9,4,1}. Since a and c are the furthest apart, we have\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So our three numbers are either {c,c+1,c+3} or {c,c+2,c+3}. Suppose the numbers are {c,c+1,c+3}. Plugging into the first equation we have\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " (this is actually a linear equation)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If c = 250, then a = 253 and we are done. For sake of completeness we can try the other case:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( ", however if you solved this, c would not be an integer. Therefore a = 253.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );