OFFSET
0,2
LINKS
Zak Seidov, Table of n, a(n) for n = 0..1000
FORMULA
MAPLE
seq(nextprime(3^i)-3^i, i=0..100);
MATHEMATICA
np[n_]:=Module[{c=3^n}, NextPrime[c]-c]; Array[np, 80, 0] (* Harvey P. Dale, Jul 14 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
James Kilfiger (mapdn(AT)csv.warwick.ac.uk)
EXTENSIONS
Corrected by Harvey P. Dale, Jul 14 2014
STATUS
approved