Euler totient function

From Number

This article defines an arithmetic function or number-theoretic function: a function from the natural numbers to a ring (usually, the ring of integers, rational numbers, real numbers, or complex numbers).
View a complete list of arithmetic functions

Definition

Let n be a natural number. The Euler phi-function or Euler totient function of n, denoted φ(n), is defined as following:

  • It is the order of the multiplicative group modulo n, i.e., the multiplicative group of the ring of integers modulo n.
  • It is the number of elements in {1,2,,n} that are relatively prime to n.

In terms of prime factorization

Suppose we have the following prime factorization of n:

n=p1k1p2k2prkr.

Then, we have:

φ(n)=i=1rpiki(11pi).

In other words:

φ(n)n=i=1r(11pi).

Behavior

Upper bound

The largest values of ϕ(n) are taken when n is prime. ϕ(p)=p1 for a prime p.

Thus:

limsupϕ(p)p=1.

Lower bound

For any ϵ>0, there exists Nϵ such that:

φ(n)n1ϵnNϵ.

With the prime number theorem, we can find a constant C such that:

φ(n)n1(Cloglogn/logn).

Relation with other arithmetic functions

Similar functions

  • Universal exponent (also called Carmichael function) is the exponent of the multiplicative group modulo n. The universal exponent of n, usually denoted λ(n), divides φ(n).
  • Dedekind psi-function is similar tothe Euler phi-function, and is defined as:

ψ(n)=np|n(1+1p).

Relations expressed in terms of Dirichlet products

d|nφ(d)=n.

d|ndμ(n/d)=φ(n).

d|nφ(d)σ0(n/d)=σ(n).

  • σ*φ=E*E.

Relation with properties of numbers

Properties

The Euler phi-function is a multiplicative function but not a completely multiplicative function.