login
A013600
a(n) = nextprime(6^n)-6^n.
8
1, 1, 1, 7, 1, 13, 7, 5, 11, 25, 5, 35, 35, 35, 5, 91, 47, 35, 5, 17, 11, 7, 103, 61, 7, 13, 23, 7, 25, 47, 7, 73, 5, 41, 133, 77, 101, 103, 193, 61, 47, 187, 71, 35, 215, 83, 121, 95, 37, 95, 145, 35, 77, 13, 7, 5, 25, 77, 47, 283, 235, 23, 137, 137, 47
OFFSET
0,4
LINKS
FORMULA
a(n) = A063766(n)-6^n = A013632(6^n). - R. J. Mathar, Nov 28 2016
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