OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
For k = 30: phi(30) = 8, cototient(30) = 22, phi(22) = 10 is not a power of 2.
MATHEMATICA
Do[s=EulerPhi[n-EulerPhi[n]]; If[ !IntegerQ[Log[2, s]]&&!PrimeQ[n], Print[n]], {n, 1, 256}]
PROG
(PARI) is(k) = if(k == 1, 1, if(isprime(k), 0, my(m = eulerphi(k - eulerphi(k))); m >> valuation(m, 2) > 1)); \\ Amiram Eldar, Nov 08 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, May 08 2002
STATUS
approved