2013 AIME II #12

Problem:

Let S be the set of all polynomials of the form z3+az2+bz+c, where a, b, and c are integers. Find the number of polynomials in S such that each of its roots z satisfies either |z|=20 or |z|=13.

Solution:

In the first case, the polynomial has 3 real roots. These roots could be any from the options 13,13,20,20. There are (43)+4+(4)(3)=20 polynomials in this case.

In the second case, there is one real root and two complex roots.
There are 4 options for the one real root, namely 13,13,20,20. WLOG, let this root be 20. The two complex roots are conjugates, so let them be x+yi and xyi. Expand the polynomial P(z)=(P20)(P(x+yi))(P(xyi)) to get z3+(2x20)z2+(z)(x2+y2+40x)+(20x220y2). Note that in this expanded version of P(z), the coefficient c is already an integer. For the coefficient a to be an integer, we need 2x to be an integer. Note that this automatically makes b=x2+y2+40x an integer. So, let x=m2 for an integer m. Now, we have 

x2+y2=20,13
x2+y2=400,169
m2+4y2=1600,676
In the first case, where it's equal to 1600, the set of possible values for m are 39,,0,,39, and these are 79 values. Similarly, when it's equal to 676, the set of possible values for m are 25,,0,,25, and these are 51 values. In total, we have 130 solutions. Multiplying by 4 for the options for the real root, we have 1304=520 polynomials in this case. 

So there are 540 total polynomials.

Comments