OFFSET
0,4
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 0..1000
FORMULA
MAPLE
seq(nextprime(6^i)-6^i, i=0..100);
MATHEMATICA
(NextPrime[#]-#)&/@(6^Range[0, 70]) (* Harvey P. Dale, May 04 2024 *)
PROG
(PARI) a(n) = nextprime(6^n)-6^n; \\ Michel Marcus, Jan 08 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
James Kilfiger (mapdn(AT)csv.warwick.ac.uk)
STATUS
approved