OFFSET
0,1
LINKS
Jinyuan Wang, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = A014211(n), n > 1. - R. J. Mathar, Dec 13 2008
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
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Mar 03 2005
STATUS
approved