login
A075489
a(n) = prime((n+1)!) - prime(n!).
0
1, 10, 76, 570, 4784, 43590, 435004, 4738392, 55972218, 713630736, 9777359856, 143350864898, 2240419421284, 37194276947898, 653800845663788, 12132997533521320, 237076055569553246, 4865738414759433466, 104661156692004606078, 2354571975178917773640
OFFSET
1,2
FORMULA
a(n) = A062439(n+1) - A062439(n). - Jinyuan Wang, Jun 27 2020
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