Euler's totient function: Difference between revisions

Content deleted Content added
Divisor sum: Minor wording
Line 114:
where the sum is over all positive divisors {{mvar|d}} of {{mvar|n}}, can be proven in several ways. (See [[Arithmetical function#Notation|Arithmetical function]] for notational conventions.)
 
One proof is to note that {{math|''φ''(''d'')}} is also equal to the number of possible generators of the [[cyclic group]] {{math|''C''<sub>''d''</sub>}} ; specifically, if {{math|''C''<sub>''d''</sub> {{=}} ⟨''g''⟩}} with {{math|1=''g''<sup>''d''</sup> = 1}}, then {{math|''g''<sup>''k''</sup>}} is a generator for every {{mvar|k}} coprime to {{mvar|d}}. Since every element of {{math|''C''<sub>''n''</sub>}} generates a cyclic [[subgroup]], and alleach subgroupssubgroup {{math|''C''<sub>''d''</sub> ⊆ ''C''<sub>''n''</sub>}} areis generated by precisely {{math|''φ''(''d'')}} elements of {{math|''C''<sub>''n''</sub>}}, the formula follows.<ref>Gauss, DA art. 39, arts. 52-54</ref> Equivalently, the formula can be derived by the same argument applied to the [[Root of unity#Group of nth roots of unity|multiplicative group of the {{mvar|n}}th roots of unity]] and the [[primitive root of unity|primitive {{mvar|d}}th roots of unity]].
 
The formula can also be derived from elementary arithmetic.<ref>Graham et al. pp. 134-135</ref> For example, let {{math|''n'' {{=}} 20}} and consider the positive fractions up to 1 with denominator 20: