login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A127799
Nextprime(13^n)-13^n.
4
1, 4, 4, 6, 10, 6, 4, 6, 18, 46, 4, 34, 22, 16, 58, 4, 72, 28, 42, 34, 30, 166, 60, 16, 136, 46, 94, 66, 276, 30, 70, 136, 70, 18, 60, 142, 228, 10, 462, 12, 28, 166, 138, 12, 376, 16, 180, 102, 222, 228, 102, 126, 108, 46, 24, 172, 162, 6, 114, 6, 108, 6, 72, 84, 22, 70
OFFSET
0,2
MATHEMATICA
np13[n_]:=Module[{c=13^n}, NextPrime[c]-c]; Array[np13, 70, 0] (* Harvey P. Dale, Mar 31 2012 *)
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 29 2007
STATUS
approved