login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A033875 Skipping from prime to prime by least powers of 2. 6
2, 3, 5, 7, 11, 13, 17, 19, 23, 31, 47, 79, 83, 211, 227, 229, 233, 241, 257, 769, 773 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Is this sequence infinite? - Charles R Greathouse IV, Jan 24 2017

LINKS

Zak Seidov, Table of n, a(n) for n = 1..23

FORMULA

a(1) = 2, a(n+1) = a(n) + 2^k; a(n+1) prime, k minimal.

EXAMPLE

2+2^0=3,

3+2^1=5,

a(22)=a(21)+2^955,

a(23)=a(22)+2^468.

MATHEMATICA

NestList[(k = 0; While[! PrimeQ[q = # + 2^k], k++]; q) &, 2, 20] (* Zak Seidov, Jan 24 2017 *)

CROSSREFS

Cf. A139803 (corresponding powers of 2).

Sequence in context: A229060 A219528 A046501 * A105581 A258433 A262363

Adjacent sequences:  A033872 A033873 A033874 * A033876 A033877 A033878

KEYWORD

nonn

AUTHOR

David W. Wilson

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 24 18:46 EST 2021. Contains 341584 sequences. (Running on oeis4.)