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!)
A104080 Smallest prime >= 2^n. 15
2, 2, 5, 11, 17, 37, 67, 131, 257, 521, 1031, 2053, 4099, 8209, 16411, 32771, 65537, 131101, 262147, 524309, 1048583, 2097169, 4194319, 8388617, 16777259, 33554467, 67108879, 134217757, 268435459, 536870923, 1073741827, 2147483659 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Jinyuan Wang, Table of n, a(n) for n = 0..1000

FORMULA

a(n) = A014210(n), n <> 1. - R. J. Mathar, Oct 14 2008

Sum_{n >= 0) 1/a(n) = A338475 + 1/6 = 1.4070738... (because 1/6 = 1/2 - 1/3). - Bernard Schott, Nov 01 2020

MATHEMATICA

Join[{2, 2}, NextPrime[#]&/@(2^Range[2, 40])]  (* Harvey P. Dale, Jan 26 2011 *)

NextPrime[2^Range[0, 50]-1]  (* Vladimir Joseph Stephan Orlovsky, Apr 11 2011 *)

PROG

(PARI) g(n, b=2) = for(x=0, n, print1(nextprime(b^x)", "))

(PARI) a(n) = nextprime(2^n); \\ Michel Marcus, Nov 01 2020

CROSSREFS

Cf. A014210, A104081, A338475.

Sequence in context: A209100 A208864 A259828 * A336269 A078405 A109278

Adjacent sequences:  A104077 A104078 A104079 * A104081 A104082 A104083

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard, Mar 03 2005

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 May 13 00:11 EDT 2021. Contains 343829 sequences. (Running on oeis4.)