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!)
A033875 Skipping from prime to prime by least powers of 2. 7
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
FORMULA
a(1) = 2, a(n+1) = a(n) + 2^k; a(n+1) prime, k minimal.
a(n) = a(n-1) + 2^A067760((a(n-1)-1)/2) for n >= 3. - Pontus von Brömssen, Jan 08 2023
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. A059661, A067760, A139803 (corresponding powers of 2).
Sequence in context: A229060 A219528 A341660 * A105581 A258433 A262363
KEYWORD
nonn
AUTHOR
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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)