|
|
A303549
|
|
Lesser of twin primes p for which phi(p-1) = phi(p+1), where phi(n) is the Euler totient function (A000010).
|
|
1
|
|
|
5, 11, 71, 2591, 208391, 16692551, 48502931, 92012201, 249206231, 419445251, 496978301, 1329067391, 1837151681, 2277479051, 2647600061, 4733566391, 6435087011, 10327948751, 14089345691, 14923624031, 22415286251, 27508270301, 39662281331, 59013882071, 70353395351
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The terms below 10^8 were taken from the paper by Garcia et al.
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|