|
|
A286714
|
|
Difference phi(p-1) - phi(p+1) for lesser of twin primes.
|
|
4
|
|
|
-1, 0, 0, 2, 4, 4, 12, 0, 8, 16, 20, 32, 40, 8, 24, 40, 32, 60, 4, 24, 60, 84, 24, 56, 24, 136, 104, 36, 44, 116, 184, 48, 84, 184, 68, 252, 72, 280, 68, 144, 56, 292, 140, 192, 120, 338, 276, 120, 144, 262, 192, 376, 120, 268, 192, 236, 64, 168, 240, 492, 348, 388
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
LINKS
|
|
|
MATHEMATICA
|
(EulerPhi[#-1] - EulerPhi[#+1]) &@ Select[Prime@ Range@ 310, PrimeQ[# + 2] &] (* Giovanni Resta, May 13 2017 *)
|
|
PROG
|
(PARI) lista(nn) = forprime(p=2, nn, if (isprime(p+2), print1(eulerphi(p-1)-eulerphi(p+1), ", ")));
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|