OFFSET
1,1
COMMENTS
EXAMPLE
Prime 17 is in the sequence because phi(15) = phi(22) - 2 = 8.
MATHEMATICA
Select[Prime@ Range[10^4], EulerPhi[# - 2] == EulerPhi[# + 5] - 2 &] (* Michael De Vlieger, Dec 17 2015 *)
PROG
(Magma) [n: n in [3..10^7] | IsPrime(n) and EulerPhi(n-2) eq EulerPhi(n+5) - 2]
(PARI) is(n)=eulerphi(n-2)==eulerphi(n+5)-2 \\ Anders Hellström, Dec 16 2015
(Magma) [p: p in PrimesInInterval(3, 2*10^5) | EulerPhi(p-2) eq EulerPhi(p+5)-2]; // Vincenzo Librandi, Dec 17 2015
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jaroslav Krizek, Dec 16 2015
STATUS
approved