Note that (100−a)(100−b)(100−c)=1000000−10000(a+b+c)+100(ab+bc+ac)−abc=0. Thus, one of a,b,c=100. There are 201 cases for each but we need to subtract 2 for (100,100,100). The answer is 601
~Bluesoul,Shen Kislay Kai, EaglesNRavens
Solution 2
a2(b+c)+b2(a+c)+c2(a+b)=6000000, thus a2(300−a)+b2(300−b)+c2(300−c)=6000000. Complete the cube to get −(a−100)3−(b−100)3−(c−100)3=9000000−30000(a+b+c), which so happens to be 0. Then we have (a−100)3+(b−100)3+(c−100)3=0. We can use Fermat's last theorem here to note that one of a,b,c has to be 100. We have 200+200+200+1=601.
Solution 3
We have \begin{align*} & a^2 b + a^2 c + b^2 a + b^2 c + c^2 a + c^2 b \\ & = ab \left( a + b \right) + bc \left( b + c \right) + ca \left( c + a \right) \\ & = ab \left( 300 - c \right) + bc \left( 300 - a \right) + ca \left( 300 - b \right) \\ & = 300 \left( ab + bc + ca \right) - 3 abc \\ & = -3 \left( \left( a - 100 \right) \left( b - 100 \right) \left( c - 100 \right) - 10^4 \left( a + b + c \right) + 10^6 \right) \\ & = -3 \left( \left( a - 100 \right) \left( b - 100 \right) \left( c - 100 \right) - 2 \cdot 10^6 \right) \\ & = 6 \cdot 10^6 . \end{align*} The first and the fifth equalities follow from the condition that a+b+c=300.
Therefore,
(a−100)(b−100)(c−100)=0.
Case 1: Exactly one out of a−100, b−100, c−100 is equal to 0.
Step 1: We choose which term is equal to 0. The number ways is 3.
Step 2: For the other two terms that are not 0, we count the number of feasible solutions.
W.L.O.G, we assume we choose a−100=0 in Step 1. In this step, we determine b and c.
Recall a+b+c=300. Thus, b+c=200. Because b and c are nonnegative integers and b−100=0 and c−100=0, the number of solutions is 200.
Following from the rule of product, the number of solutions in this case is 3⋅200=600.
Case 2: At least two out of a−100, b−100, c−100 are equal to 0.
Because a+b+c=300, we must have a=b=c=100.
Therefore, the number of solutions in this case is 1.
Putting all cases together, the total number of solutions is 600+1=(601) .
We will use Vieta's formulas to solve this problem. We assume a+b+c=300, ab+bc+ca=m, and abc=n. Thus a, b, c are the three roots of a cubic polynomial f(x).
We note that 300m=(a+b+c)(ab+bc+ca)=∑cyca2b+3abc=6000000+3n, which simplifies to 100m−2000000=n.
Our polynomial f(x) is therefore equal to x3−300x2+mx−(100m−2000000). Note that f(100)=0, and by polynomial division we obtain f(x)=(x−100)(x2−200x−(m−20000)).
We now notice that the solutions to the quadratic equation above are x=100±22002−4(m−20000)=100±90000−4m, and that by changing the value of m we can let the roots of the equation be any pair of two integers which sum to 200. Thus any triple in the form (100,100−x,100+x) where x is an integer between 0 and 100 satisfies the conditions.
Now to count the possible solutions, we note that when x=0, the three roots are distinct; thus there are 3!=6 ways to order the three roots. As we can choose x from 1 to 100, there are 100⋅3!=600 triples in this case. When x=0, all three roots are equal to 100, and there is only one triple in this case.
In total, there are thus 601 distinct triples.
~GaloisTorrent <Shen Kislay Kai>
- minor edit made by MEPSPSPSOEODODODO
Solution 5
Let's define a=100+x, b=100+y, c=100+z. Then we have x+y+z=0 and 6000000=∑a2(b+c)
=∑(20000+30000x−x3)=6000000−∑x3, so we get x3+y3+z3=0. Then from x+y+z=0, we can find 0=x3+y3+z3=x3+y3−(x+y)3=3xyz, which means that one of a, b,c must be 0. There are 201 solutions for each of a=0, b=0 and c=0, and subtract the overcounting of 2 for solution (200,200,200), the final result is 201×3−2=601.
~Dan Li
Solution 6
Since a+b+c=300, (100−a)+(100−b)+(100−c)=300−(a+b+c)=0. There is a well known algebraic identity:
If a+b+c=0,a3+b3+c3=3abc. Hence, as (100−a)+(100−b)+(100−c)=0 as mentioned above, (100−a)3+(100−b)3+(100−c)3=3(100−a)(100−b)(100−c).
Now expand the LHS of the equation : (100−a)3+(100−b)3+(100−c)3=3∗1003−3∗1002∗(a+b+c)+3∗100∗(a2+b2+c2)−(a3+b3+c3).
We are given in the problem that
a2b+a2c+b2a+b2c+c2a+c2b=6,000,000.
Notice that (a+b+c)3=a3+b3+c3+3(a2b+a2c+b2a+b2c+c2a+c2b)+6abc. This means that 3003=a3+b3+c3+6abc+3∗6∗106. Simplify to get a3+b3+c3+6abc=9∗106. This means that a3+b3+c3=9∗106−6abc.
We know that a+b+c=300. We also know that a2+b2+c2=(a+b+c)2−2(ab+bc+ac)=3002−2(ab+bc+ac).
Now the LHS can be written as 3∗1003−3∗1002∗300+3∗100∗(3002−2(ab+ac+bc))−(9∗106−6abc). This simplifies to 12∗106−600(ab+bc+ac)+6abc.
Now, we evaluate the right side. (100−a)(100−b)(100−c)=106−104(a+b+c)+100(ab+bc+ac)−abc=−2∗106−100(ab+bc+ac)−abc. Now we set the LHS and RHS equal to each other.
12∗106−600(ab+ac+bc)+6abc=−2∗106+100(ab+bc+ac)−abc
. Notice that the LHS is just −6 times the RHS. If the RHS is equal to −6 times itself, the only possible value the RHS can take is 0. The RHS was originally 3(100−a)(100−b)(100−c). This must equal 0.
3(100−a)(100−b)(100−c)=0
. This means one of a,b, or c must be 100. The remaining two must sum up to 200 as the three of them together sum to 300 as indicated by the problem. WLOG Let us assume a=100 and b+c=200. As b and c are nonnegative integers, we employ Stars and Bars to find that there are (2−1200+2−1)=201 solutions to the equation. As a,b, or c could in reality be 100, multiply 201 by 3 to get 603. However, the solution (a,b,c)=(100,100,100) is counted thrice in total, but we only want it counted once, so subtract 2 from 603 to arrive at the final answer : The number of solutions is 601.