OFFSET
1,1
EXAMPLE
Since phi(35) = 24 and there is no integer n such that n^2 = 24.
MATHEMATICA
Select[Range[100], !IntegerQ[Sqrt[EulerPhi[#]]] &] (* Amiram Eldar, Aug 18 2025 *)
PROG
(Python)
from math import isqrt
from sympy import totient as phi
def ok(n): return isqrt(p:=phi(n))**2 != p
print([k for k in range(1, 110) if ok(k)]) # Michael S. Branicky, Aug 17 2025
(PARI) isok(k) = !issquare(eulerphi(k)); \\ Michel Marcus, Aug 18 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Aidan Chen, Aug 11 2025
STATUS
approved
