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
2, 3, 11, 29, 83, 251, 733, 2203, 6563, 19687, 59051, 177167, 531457, 1594331, 4782971, 14348909, 43046747, 129140197, 387420499, 1162261523, 3486784409, 10460353259, 31381059613, 94143178859, 282429536483, 847288609457 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = A014211(n), n > 1. - R. J. Mathar, Dec 13 2008
a(n) = A007918(A000244(n)). - Michel Marcus, Nov 08 2018
MATHEMATICA
NextPrime[3^Range[0, 50]-1] (* Vladimir Joseph Stephan Orlovsky, Apr 11 2011 *)
PROG
(PARI) g(n, b=3) = for(x=0, n, print1(nextprime(b^x)", "))
(Magma) [NextPrime(3^n-1): n in [0..50]]; // G. C. Greubel, Nov 08 2018
CROSSREFS
Cf. A104080 (for 2^n).
Cf. A104088 (largest prime <= 3^n).
Sequence in context: A309701 A243896 A202211 * A267902 A003455 A103275
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Mar 03 2005
STATUS
approved

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 April 24 13:58 EDT 2024. Contains 371960 sequences. (Running on oeis4.)