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!)
A187872 Second smallest prime after 2^n. 1
3, 5, 7, 13, 19, 41, 71, 137, 263, 523, 1033, 2063, 4111, 8219, 16417, 32779, 65539, 131111, 262151, 524341, 1048589, 2097211, 4194329, 8388619, 16777289, 33554473, 67108913, 134217773, 268435463, 536870951, 1073741831, 2147483693 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Robert Israel, Table of n, a(n) for n = 0..3318

EXAMPLE

2^2=4, second smallest prime=7;

2^3=8, second smallest prime=13; ..

MAPLE

seq(nextprime(nextprime(2^n)), n=0..100); # Robert Israel, Nov 04 2020

MATHEMATICA

NextPrime[2^Range[0, 100], 2]

PROG

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

CROSSREFS

Cf. A007491, A014210.

Sequence in context: A084696 A330222 A154700 * A180450 A051507 A173145

Adjacent sequences:  A187869 A187870 A187871 * A187873 A187874 A187875

KEYWORD

nonn

AUTHOR

Vladimir Joseph Stephan Orlovsky, Mar 14 2011

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 9 17:41 EDT 2021. Contains 343742 sequences. (Running on oeis4.)