Euler totient function Created 2026-09-24 Updated 2026-10-20
Euler's totient function is the arithmetic functionIt counts the congruence classes modulo represented by integers coprime to . In particular, , since . For , the coprime integers among are , so ; they form a reduced residue system. [ref]
https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781 lecture notes, Definition 2.1.2
Counting these congruence classes is useful because they are exactly the classes with modular multiplicative inverses. Their number supplies the exponent in Euler theorem. Möbius inversion gives the product formulawhere runs over distinct prime factors of . Thus for prime powers with , and . The product for is an empty product, so it gives the same convention .
Past exam of the mathematics course of the University of Cambridge 2024 ia Paper 4 5E Solution Created 2026-09-23 Updated 2026-09-25
The Euler theorem states that if , thenLet be the reduced residue classes modulo . Multiplication by permutes them, soTheir product is a unit and may be cancelled, proving the theorem.