OFFSET
0,2
EXAMPLE
n=4, a(4)=39, Phi[39]+16=24+16=40=Phi[55]; a(14) = 21201, Phi(21201) + 2^14 = 13680 + 16384 = 30064 = Phi(37585).
MATHEMATICA
Do[k = 4; While[ PrimeQ[k] || EulerPhi[k + 2^n] != EulerPhi[k] + 2^n, k++ ]; Print[k], {n, 1, 28} ]
PROG
(PARI) { n=0; f="b063104.txt"; write(f, "0 0"); for (n=1, 28, k=4; while (isprime(k) || eulerphi(k + 2^n) != eulerphi(k) + 2^n, k++); write(f, n, " ", k) ) } \\ Harry J. Smith, Aug 18 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Aug 08 2001
EXTENSIONS
More terms from Robert G. Wilson v, Nov 03 2001
a(29)-a(35) from Donovan Johnson, Aug 18 2011
STATUS
approved