 The other primitive "q"-th roots of unity are the numbers formula_16 where ("a", "q") = 1.Therefore, there are φ("q") primitive "q"-th roots of unity.Thus, the Ramanujan sum "cq"("n") is the sum of the "n"-th powers of the primitive "q"-th roots of unity.