deepdream of
          a sidewalk
Show Question
Math and science::Algebra::Aluffi

Euler's ϕ

Euler's ϕ-function

Euler's ϕ-function maps any positive integer m to the number of positive integers rm that are relatively prime to m. In other words:

ϕ(m)=|{rN:rm,gcd(r,m)=1}|

A related theorem:

Theorem. N = sum of relative primes of divisors of N.

m>0,m|nϕ(m)=n

Proof is on the reverse side.


Proof

Proof. We will count generators in two ways.

Firstly, every element in the cyclic group Cn is a generator of 1 subgroup of Cn. There are no other subgroups, so this is a surjective map into the set of subgroups of Cn.

Going in reverse, we will do a double loop, looping first over all subgroups, and then over the generators of each subgroup. Subgroups of Cn are one-to-one with divisors of n. Let m be one such divisor. A generator of the subgroup Cn/m is an integer that is relatively prime to m. ϕ(m) is the number of such integers, and so ϕ(m) is the number of generators of the subgroup Cn/m. In this way, m>0,m|nϕ(m) is the sum of generators for all subgroups of Cn.

Thus, the number of elements n and the sum of generators of all subgroups of Cn are the same.

Example

C12: map from elements to subgroups.