cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A075489 a(n) = prime((n+1)!) - prime(n!).

Original entry on oeis.org

1, 10, 76, 570, 4784, 43590, 435004, 4738392, 55972218, 713630736, 9777359856, 143350864898, 2240419421284, 37194276947898, 653800845663788, 12132997533521320, 237076055569553246, 4865738414759433466, 104661156692004606078, 2354571975178917773640
Offset: 1

Views

Author

Labos Elemer, Sep 26 2002

Keywords

Examples

			n=5: a(5) = prime(720) - prime(120) = 5443 - 659 = 4784.
		

Crossrefs

Programs

  • 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 *)

Formula

a(n) = A062439(n+1) - A062439(n). - Jinyuan Wang, Jun 27 2020

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