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!)
A104081 Smallest prime >= 3^n. 4

%I #26 Sep 08 2022 08:45:17

%S 2,3,11,29,83,251,733,2203,6563,19687,59051,177167,531457,1594331,

%T 4782971,14348909,43046747,129140197,387420499,1162261523,3486784409,

%U 10460353259,31381059613,94143178859,282429536483,847288609457

%N Smallest prime >= 3^n.

%H Jinyuan Wang, <a href="/A104081/b104081.txt">Table of n, a(n) for n = 0..1000</a>

%F a(n) = A014211(n), n > 1. - _R. J. Mathar_, Dec 13 2008

%F a(n) = A007918(A000244(n)). - _Michel Marcus_, Nov 08 2018

%t NextPrime[3^Range[0,50]-1] (* _Vladimir Joseph Stephan Orlovsky_, Apr 11 2011 *)

%o (PARI) g(n,b=3) = for(x=0,n,print1(nextprime(b^x)","))

%o (Magma) [NextPrime(3^n-1): n in [0..50]]; // _G. C. Greubel_, Nov 08 2018

%Y Cf. A104080 (for 2^n).

%Y Cf. A104088 (largest prime <= 3^n).

%Y Cf. A000244, A007918, A014211.

%K easy,nonn

%O 0,1

%A _Cino Hilliard_, Mar 03 2005

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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)