Problem:
Find the number of triples of nonnegative integers (a,b,c) satisfying a+b+c=300 and
a2b+a2c+b2a+b2c+c2a+c2b=6,000,000.
Solution:
Adding 3abc to the second equation gives
6,000,000+3abcβ=a2b+a2c+b2a+b2c+c2a+c2b+3abc=(a+b+c)(ab+bc+ca)=300(ab+bc+ca).β
Hence 2,000,000+abc=100(ab+bc+ca). On the other hand,
(aβ100)(bβ100)(cβ100)β=abcβ100(ab+bc+ca)+1002(a+b+c)β1003=abcβ100(ab+bc+ca)+1002β
300β1003=abcβ100(ab+bc+ca)+2,000,000.β
Combining the two obtained relations gives
(aβ100)(bβ100)(cβ100)=0.
In particular, one of a,b, and c must be 100. Conversely, if one of the variables, say c, is equal to 100 and a+b=300βc=200, then
a2b+a2c+b2a+b2c+c2a+c2bβ=ab(a+b)+100(a2+b2)+c2(a+b)=100(a+b)2+200c2=6,000,000.β
Therefore the triples that satisfy the given equation are precisely the triples for which one of the variables is equal to 100. There are 201 valid triples with c=100 and a+b=200. Likewise, there are 201 valid triples with each of a=100 and b=100. However, the triple (100,100,100) has been counted three times, so the requested number of triples is 3β
201β2=601β.
OR
Grouping terms of the second equation gives
6,000,000β=a2b+a2c+b2a+b2c+c2a+c2b=(a2b+b2a)+(a2c+c2a)+(b2c+c2b)=ab(a+b)+ac(a+c)+bc(b+c)=ab(300βc)+ac(300βb)+bc(300βa)=300(ab+bc+ca)β3abc.β
Hence abc=100(ab+bc+ca)β2,000,000.
Let D=ab+bc+ca. Then a,b, and c are solutions of the cubic equation
x3β300x2+Dxβ(100Dβ2,000,000)=0.
By inspection, x=100 is a solution of this equation, and thus one of a,b, or c is equal to 100. The rest of the solution then proceeds as in the first solution.
The problems on this page are the property of the MAA's American Mathematics Competitions