OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
10 is a term because phi(10) = 4; 10 mod 4 = 2 and 10^2 mod 4 = 0.
MATHEMATICA
Select[Range[10^3], Function[k, And[Divisible[#^2, k], ! Divisible[#, k]]]@ EulerPhi@ # &] (* Michael De Vlieger, Jul 21 2016 *)
PROG
(PARI) isok(n) = (n % eulerphi(n) != 0) && (n^2 % eulerphi(n) == 0)
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Jul 21 2016
STATUS
approved