As we have seen in Section 2.1, an element a of Z/nZ is invertible if and only if gcd(a,n)=1.

Definition

For n N, we denote by (n) the number of elements in {1, ..., n} that are relatively prime with n. The function : N -> N is called the Euler indicator.

Thus (n) is the number of invertible elements in Z/nZ. It can be determined by means of the following recursion.
Euler

Theorem

The Euler indicator satisfies the following rules.

For prime powers this gives a closed formula for the Euler indicator.

Lemma

If p is prime, then (pk) = (p - 1)pk-1.