Skip to main content
OlympiadHQ

Browse · MathNet

Print

45th Mongolian Mathematical Olympiad

Mongolia counting and probability

Problem

Let . Find all sets such that . (proposed by B. Bayasgalan)
Solution
Those are odd numbered th root of unity. In the figure regular -gon. Consider following function's decomposition. . Then 's coefficient is a set whose sum of elements. We need to find 's sum of coefficients, which is denoted by . Here . Now consider that sum , here . We know that then we can easily see that . Now compute the , Assume . Then . Otherwise, numbers of all such that is . Also, and easy calculation, we get Because of then substituting , we get , In other word . Observe that , we get . Finally
Final answer
(2^2009 + 62^287 + 402^49 + 422^41 + 2402^7 + 3360) / 2009

Techniques

Generating functionsRoots of unityφ (Euler's totient)