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!)
A182317 Least prime p = prime(k) such that prime(k+n) - prime(k) = 2^(n-1), or 0 if no such p exists. 1
2, 0, 0, 0, 7, 107, 1117, 23369, 1050457, 302728997 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1) = 2 = prime(1) = prime(1+1) - 2^(1-1) = 3-1,
a(5) = 7 = prime(4) = prime(4+5) - 2^(5-1) = 23-16,
a(6) = 107 = prime(28) = prime(28+6) - 2^(6-1) = 139-32,
a(7) = 1117 = prime(187) = prime(187+7) - 2^(7-1) = 1181-64,
a(8) = 23369 = prime(2605) = prime(2605+8) - 2^(8-1) = 23497-128.
CROSSREFS
Sequence in context: A231108 A231285 A268729 * A158801 A266208 A266158
KEYWORD
nonn
AUTHOR
Gerasimov Sergey, Apr 24 2012
EXTENSIONS
a(9) and a(10) from T. D. Noe, Apr 25 2012
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 23:15 EDT 2024. Contains 371798 sequences. (Running on oeis4.)