cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A187872 Second smallest prime after 2^n.

Original entry on oeis.org

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
Offset: 0

Views

Author

Keywords

Examples

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

Crossrefs

Programs

  • Maple
    seq(nextprime(nextprime(2^n)),n=0..100); # Robert Israel, Nov 04 2020
  • Mathematica
    NextPrime[2^Range[0,100], 2]
  • PARI
    a(n) = nextprime(nextprime(2^n+1)+1); \\ Michel Marcus, Nov 05 2020