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.

A104081 Smallest prime >= 3^n.

This page as a plain text file.
%I A104081 #26 Sep 08 2022 08:45:17
%S A104081 2,3,11,29,83,251,733,2203,6563,19687,59051,177167,531457,1594331,
%T A104081 4782971,14348909,43046747,129140197,387420499,1162261523,3486784409,
%U A104081 10460353259,31381059613,94143178859,282429536483,847288609457
%N A104081 Smallest prime >= 3^n.
%H A104081 Jinyuan Wang, <a href="/A104081/b104081.txt">Table of n, a(n) for n = 0..1000</a>
%F A104081 a(n) = A014211(n), n > 1. - _R. J. Mathar_, Dec 13 2008
%F A104081 a(n) = A007918(A000244(n)). - _Michel Marcus_, Nov 08 2018
%t A104081 NextPrime[3^Range[0,50]-1] (* _Vladimir Joseph Stephan Orlovsky_, Apr 11 2011 *)
%o A104081 (PARI) g(n,b=3) = for(x=0,n,print1(nextprime(b^x)","))
%o A104081 (Magma) [NextPrime(3^n-1): n in [0..50]]; // _G. C. Greubel_, Nov 08 2018
%Y A104081 Cf. A104080 (for 2^n).
%Y A104081 Cf. A104088 (largest prime <= 3^n).
%Y A104081 Cf. A000244, A007918, A014211.
%K A104081 easy,nonn
%O A104081 0,1
%A A104081 _Cino Hilliard_, Mar 03 2005