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.

This page as a plain text file.
%I A014211 #14 Jul 08 2025 02:55:30
%S A014211 2,5,11,29,83,251,733,2203,6563,19687,59051,177167,531457,1594331,
%T A014211 4782971,14348909,43046747,129140197,387420499,1162261523,3486784409,
%U A014211 10460353259,31381059613,94143178859,282429536483,847288609457
%N A014211 Next prime after 3^n.
%H A014211 Amiram Eldar, <a href="/A014211/b014211.txt">Table of n, a(n) for n = 0..2096</a>
%t A014211 NextPrime[ n_Integer] := (k = n + 1; While[ !PrimeQ[k], k++ ]; k); Table[ NextPrime[3^n], {n, 0, 35} ]
%t A014211 NextPrime[3^Range[0,30]] (* _Harvey P. Dale_, Feb 26 2013 *)
%Y A014211 Cf. A000244, A014210.
%K A014211 nonn
%O A014211 0,1
%A A014211 _N. J. A. Sloane_
%E A014211 More terms from _Robert G. Wilson v_, Aug 14 2001