OFFSET
1,2
FORMULA
a(n) = A001223(n!). - Michel Marcus, Aug 24 2019
MATHEMATICA
Table[Prime[n! + 1] - Prime[n!], {n, 10}] (* Wesley Ivan Hurt, Aug 24 2019 *)
PROG
(PARI) a(n) = prime(1+n!) - prime(n!); \\ Michel Marcus, Aug 24 2019
(PARI) a(n) = my(p=prime(n!)); nextprime(p+1) - p; \\ Michel Marcus, Aug 24 2019
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Labos Elemer, Oct 03 2002
EXTENSIONS
a(16)-a(21) from Michel Marcus, Aug 24 2019
STATUS
approved