Exercise 2.1.3 (First examples, part 3)

Exhibit a reduced residue system for the modulus 12 ; for 30 .

Answers

Proof. ϕ ( 1 2 ) = 4 .

Modulo 1 2 , a reduced residue system is

{ 1 , 5 , 7 , 1 1 } .

ϕ ( 3 0 ) = 8 .

Modulo 3 0 , a reduced residue system is

{ 1 , 7 , 1 1 , 1 3 , 1 7 , 1 9 , 2 3 , 2 9 } .

Python:

[a for a in range(30) if gcd(a,30) == 1]

User profile picture
2024-08-21 09:59
Comments