OFFSET
1,2
FORMULA
EXAMPLE
n=5: a(5) = prime(720) - prime(120) = 5443 - 659 = 4784.
MATHEMATICA
Table[Prime[(n + 1)! ] - Prime[n! ], {n, 1, 10}] (* Stefan Steinerberger, Apr 10 2006 *)
#[[2]]-#[[1]]&/@Partition[Prime/@(Range[15]!), 2, 1](* Harvey P. Dale, Jul 07 2019 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Labos Elemer, Sep 26 2002
EXTENSIONS
Definition corrected by Stefan Steinerberger, Apr 10 2006
a(15)-a(18) from Giovanni Resta, Jul 08 2019
a(19)-a(20) from Jinyuan Wang, Jun 27 2020
STATUS
approved