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!)
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
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
Sequence in context: A354219 A330222 A154700 * A180450 A051507 A173145
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 19 14:50 EDT 2024. Contains 371792 sequences. (Running on oeis4.)