login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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
Sequence in context: A242993 A366045 A263382 * A368436 A366616 A186988
KEYWORD
sign
AUTHOR
Michel Marcus, May 13 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 24 23:01 EDT 2024. Contains 375418 sequences. (Running on oeis4.)