Exercise 931Number theory › Divisibility and gcdL1Added 3 Nov 2026
Units modulo $n$
#units#invertible#Euler totient
Statement
Show that is invertible iff .
Hint
invertible means for some , i.e. .
Show solutionHide solution
Solution
If invertible. means , so . Any common divisor of divides , so .
If coprime. Bézout: , so , i.e. .
Conclusion. The units of are exactly the classes of integers coprime to ; there are of them.