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.

A014211 Next prime after 3^n.

Original entry on oeis.org

2, 5, 11, 29, 83, 251, 733, 2203, 6563, 19687, 59051, 177167, 531457, 1594331, 4782971, 14348909, 43046747, 129140197, 387420499, 1162261523, 3486784409, 10460353259, 31381059613, 94143178859, 282429536483, 847288609457
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    NextPrime[ n_Integer] := (k = n + 1; While[ !PrimeQ[k], k++ ]; k); Table[ NextPrime[3^n], {n, 0, 35} ]
    NextPrime[3^Range[0,30]] (* Harvey P. Dale, Feb 26 2013 *)

Extensions

More terms from Robert G. Wilson v, Aug 14 2001