Consider the Euler's totient function ϕ ( n ) which is the number of integers from 1 to n coprime to n .
If n is divisible by ϕ ( n ) , what is the product of all possible values of ϕ ( n ) n ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I still can't figure this out. For any n=2^k, phi(n)=n/2, i.e., n/phi(n)=2. The overall product is infinity.
Log in to reply
Yes it is true that there are infinite ways you can get n/phi(n)= 2, but the question is not to compute the product them, obviously that is infinite. What you need to do, is to find all possible integer values that n/phi(n) can be, in this case 1, 2 or 3. You can also get 3 in many different ways with n=2^k.3^r. but still we only care that 3 is a possible integer value that n/phi(n) can be. So we only take this numbers once to compute the final answer.
Log in to reply
Oh, I see, thanks! Understanding the problem is my biggest problem...
If n = 1 then ϕ ( n ) = 1 , and so ϕ ( n ) n = 1 . Suppose now that n ≥ 2 , and write n = p 1 a ( 1 ) p 2 a ( 2 ) ⋯ p N a ( N ) as a product of primes, where p 1 , p 2 , . . . , p N are distinct primes and a ( 1 ) , a ( 2 ) , . . . , a ( N ) are positive integers. Then ϕ ( n ) = ( p 1 − 1 ) ( p 2 − 1 ) ⋯ ( p N − 1 ) p 1 a ( 1 ) − 1 p 2 a ( 2 ) − 1 ⋯ p N a ( N ) − 1 and hence we have that ( p 1 − 1 ) ( p 2 − 1 ) ⋯ ( p N − 1 ) divides p 1 p 2 ⋯ p N . Since p 1 p 2 ⋯ p N can only have one factor of 2 at most, and since p − 1 is even whenever p is an odd prime, we deduce that n can only have at most one odd prime factor.
Thus the possible values of n ϕ ( n ) are 1 , 2 , 3 , and hence the product of the possible values is 6 .
Yes, that's correct! Thank you!
Guesswork solution: it won't grow forever. So it must be something like one. Nope. There must've been some edge cases. Include 2 and 3. Et voilà!
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Euler's Totient Function
We can use a formula for ϕ ( n ) .
Suppose that the canonical factorization of n is:
n = i = 1 ∏ k p i α i
Then
ϕ ( n ) = n i = 1 ∏ k ( 1 − p i 1 )
Thus:
ϕ ( n ) n = i = 1 ∏ k ( 1 − p i 1 ) 1 = i = 1 ∏ k ( p i p i − 1 ) 1
ϕ ( n ) n = ( p 1 − 1 ) ( p 2 − 1 ) . . . ( p k − 1 ) p 1 . p 2 . . . p k
From this expression is easy to see that if two or more prime factors of n are odd, then ϕ ( n ) n cannot be an integer because on the denominator of the fraction we would get two or more even numbers that together are a multiple of 4 that cannot be simplified with any prime number on the numerator. For similar reasons, the odd prime number cannot be larger than 3 and has to be multiplied by 2 on the numerator.
Therefore the only possible values for ϕ ( n ) n are: ϕ ( n ) n = 1 1 = 1 , ϕ ( n ) n = ( 2 − 1 ) 2 = 2 o r ϕ ( n ) n = ( 2 − 1 ) ( 3 − 1 ) 2 . 3 = 3
And the product of these three values is 1 . 2 . 3 = 6