login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,4
LINKS
Stephan Ramon Garcia, Elvis Kahoro, Florian Luca, Primitive root discrepancy for twin primes, arXiv:1705.02485 [math.NT], 2017.
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
Michel Marcus, May 13 2017
STATUS
approved