Compute .
HMMT February
Solution
Our desired expression is . Using binomial expansion and switching the order of the resulting summation, this is equal to . Note that unless , the summand is the sum of roots of unity spaced evenly around the unit circle in the complex plane (in particular the 1007th, 19th, and 53rd roots of unity), so it is zero. Thus, we must only sum over those for which , which holds for . This yields the answer .
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.