Problem:
Compute
Solution:
We claim that the answer is .
For a fixed value of , let be a primitive root of unity. Since in its lowest form, we know that .
Then, we have
It is well-known that for a primitive root of unity, so plugging in , it becomes clear that for odd .
Using this fact along with , we see that the problem statement is equivalent to .
Notice that computing this sum of GCDs is equivalent to computing
Comments
Post a Comment