Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra senior

Problem

Let denote the value of the sumDetermine the remainder obtained when is divided by .
Solution
Consider the polynomial Let with . We have where the last step follows because is 0 when is not divisible by 3, and when is divisible by 3. We now compute . WLOG, let . Then , and . These numbers are both of the form , where is a 12th root of unity, so both of these, when raised to the 2004-th power, become . Thus, our desired sum becomes . To find , we notice that so that . Then . Thus, our answer is .
Final answer
6