OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..6018 (terms below 10^10)
EXAMPLE
For k = 168: 168 - phi(168) = 168-48 = 120, phi(120) = 32, 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 || 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