2

I have a couple questions about trying to understand Euler's Phi function.

So I'm being asked to show there are infinitely many integers, n for which ϕ(n) is a perfect square.

I understand that the Phi function lists the number of positive integers less than or equal to n that are relatively prime to n. I also know that if p is prime then ϕ(p)=p-1

However I just have a couple questions regarding my proof:

ϕ($ 2^n$)=($ 2^n$)(1-$\dfrac{1}{2}$)=$\dfrac{2^n}{2}$=$2^{n-1}$ How do I get the final line of this proof?

and from there when I substitute odd values such as 1 I get 1, 3 I get 4, 5 I get 16, 7 I get 64 illustrating that I keep getting perfect squares.

user21820
  • 57,693
  • 9
  • 98
  • 256
Lil
  • 2,529

2 Answers2

3

You are almost there. As you found, for $n$ odd, $2^{n-1}$ is a perfect square, because $n-1$ is even and $2^{n-1}$ is the square of $2^{(n-1)/2}$.

Therefore, for $n$ odd, $\phi(2^n)=2^{n-1}$ is a perfect square, and since there are infinitely many positive odd integers, we have shown that there are infinitely many integers for which the totient function is a perfect square.

J. W. Tanner
  • 60,406
1

Another example is $n=5^{2m+1}$. Then $\phi(n)=5^{2m}\cdot 4=(5^m\cdot 2)^2$.

This argument works for all primes of the form $2^{2k}+1$, that is, all Fermat primes: $5, 17, 257, 65537$ are the only ones known to date.

lhf
  • 216,483