Putnam 2015 A3

Problem:

Compute log2(a=12015b=12015(1+e2πiab/2015))


Solution:

We claim that the answer is 13725.

For a fixed value of a, let w=e2πiab/2015 be a primitive mth root of unity. Since 2πiab2015=2πiagcd(a,2015)b2015gcd(a,2015) in its lowest form, we know that m=2015gcd(a,2015).

Then, we have
b=12015(1+e2πiab/2015)=[(1+w)(1+w2)(1+w3)(1+wm)]gcd(a,2015)(), where the power of gcd(a,2015) is beacuse the cycle 1+w,1+w2,1+w3,,1+wm, from b=1 to b=2015, repeats 2015m=gcd(a,2015) times.

It is well-known that (xw)(xw2)(xw3)(xwm)=xm1 for a primitive mth root of unity, so plugging in x=1, it becomes clear that (1+w)(1+w2)(1+w3)(1+wm)=2 for odd m

Using this fact along with (), we see that the problem statement is equivalent to log2(a=120152gcd(a,2015))=a=12015gcd(a,2015).

Notice that computing this sum of GCDs is equivalent to computing (5+1++14 ones)(13+1++112 ones)(31+1++130 ones)
=92561=13725 as desired.

Comments