Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.3.32 (Solve $\phi(x) = 24$.)
Exercise 2.3.32 (Solve $\phi(x) = 24$.)
Find all solutions of .
Answers
Proof. Let be a solution of , and
its decomposition in prime numbers. Then
therefore for every index .
The divisors of are
Since is a divisor of , and is prime,
Moreover, if , then and are divisors or , thus or .
If , then , so .
If , then , so , . Note that is impossible, because there is at least another odd factor , which gives another even factor of .
To summarize,
is a divisor of . This gives numbers to check.
With Sage:
l = [] for a in range(4): for b in range(3): for c in range(2): for d in range(2): for e in range(2): n = 2^a * 3^b * 5^c * 7^d * 13^e if euler_phi(n) == 24: l.append(n) print(l) [35, 39, 45, 70, 78, 90, 52, 84, 56, 72]
There are 10 solutions of , which are
□Note: There is a more challenging problem, given in projecteuler (https://projecteuler.net).
Problem 248.
The first number for which is .
Find the such number.