Skip to main content

2024 AIME II Problem 11

Problem 11 of 15HarderAlgebraNumber Theory

Find the number of triples of nonnegative integers (a,b,c)(a, b, c) satisfying a+b+c=300a + b + c = 300 and a2b+a2c+b2a+b2c+c2a+c2b=6,000,000. \begin{aligned} &a^2 b + a^2 c \\ &\quad {}+ b^2 a + b^2 c \\ &\quad {}+ c^2 a + c^2 b = 6{,}000{,}000. \end{aligned}

Your answer

Integer from 0 to 999
Show solution

Solution

The left side is the symmetric sum (a+b+c)(ab+bc+ca)(a + b + c)(ab + bc + ca) −3abc=300q−3p,- 3abc = 300q - 3p, where q=ab+bc+caq = ab + bc + ca and p=abc.p = abc. So the condition is 100q−p=2,000,000.100q - p = 2{,}000{,}000. Now expand (100−a)(100−b)(100−c)=106−104(a+b+c)+100q−p=(100q−p)−2⋅106, \begin{gathered} (100 - a)(100 - b)(100 - c) \\ = 10^6 - 10^4 (a + b + c) \\ \quad {}+ 100q - p \\ = (100q - p) - 2 \cdot 10^6, \end{gathered} using a+b+c=300.a + b + c = 300. The condition holds exactly when this product is 0,0, that is, when at least one of a,b,ca, b, c equals 100.100. If a=100,a = 100, then b+c=200,b + c = 200, giving 201201 triples, and likewise for bb and c:c: 3⋅201=603.3 \cdot 201 = 603. A triple counted more than once has two variables equal to 100,100, which forces the third to be 100100 as well; the triple (100,100,100)(100, 100, 100) is counted three times, so the total is 603−2=601.603 - 2 = 601.
AoPS wiki

Tagged: Diophantine Equation · factoring · symmetry (algebra)

More practice