OFFSET
1,1
COMMENTS
LINKS
Stephan Ramon Garcia, Elvis Kahoro and Florian Luca, Primitive root bias for twin primes, Experimental Mathematics (2017), pp. 1-10, alternative link, preprint, arXiv:1705.02485 [math.NT], 2017.
EXAMPLE
p = 5 is the lesser of the twin primes (5, 7), and phi(5-1) = phi(5+1) = 2.
MATHEMATICA
seq={}; Do[p = Prime[i]; If[PrimeQ[p+2] && EulerPhi[p-1] == EulerPhi[p+1], AppendTo[seq, p]], {i, 1, 1000000}]; seq
PROG
(PARI) isok(p) = isprime(p) && isprime(p+2) && (eulerphi(p-1) == eulerphi(p+1)); \\ Michel Marcus, Apr 26 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Apr 26 2018
EXTENSIONS
a(12)-a(16) from Michel Marcus, Apr 26 2018
a(17)-a(25) from Giovanni Resta, Apr 26 2018
STATUS
approved