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!)
A074258 Gaps between primes p such that 2p-1 is also prime. 1
1, 4, 12, 12, 6, 42, 18, 42, 18, 42, 12, 18, 42, 36, 24, 6, 30, 12, 60, 60, 48, 30, 24, 6, 12, 42, 30, 36, 84, 18, 48, 60, 30, 30, 12, 60, 102, 66, 42, 18, 102, 30, 30, 72, 78, 18, 30, 102, 108, 144, 18, 60, 42, 6, 42, 42, 60, 30, 156, 72, 12, 6, 60, 90, 12, 72, 60 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(PARI) my(lsgp=2); forprime (p=3, 3000, if (isprime(2*p-1), print1(p-lsgp, ", "); lsgp=p))
CROSSREFS
First differences of A005382.
Cf. A001223.
Sequence in context: A348419 A238581 A063608 * A253137 A120213 A005886
KEYWORD
nonn
AUTHOR
Jon Perry, Sep 20 2002
EXTENSIONS
Offset corrected and terms a(34) and beyond from Andrew Howroyd, Jan 16 2020
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)