Homepage › Solution manuals › David S. Dummit › Abstract Algebra › Exercise 0.2.5 (Some values of $\varphi$)
Exercise 0.2.5 (Some values of $\varphi$)
Determine the value for each integer where denotes the Euler -function.
Answers
Proof. We know that, for (where are distinct primes), then
For instance, for ,
With Sagemath:
sage: for n in range (1,31): ....: print(n, euler_phi(n)) ....: (1, 1) (2, 1) (3, 2) (4, 2) (5, 4) (6, 2) (7, 6) (8, 4) (9, 6) (10, 4) (11, 10) (12, 4) (13, 12) (14, 6) (15, 8) (16, 8) (17, 16) (18, 6) (19, 18) (20, 8) (21, 12) (22, 10) (23, 22) (24, 8) (25, 20) (26, 12) (27, 18) (28, 12) (29, 28) (30, 8)
□
2025-12-25 11:20