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.

A247380 First differences of A117495.

Original entry on oeis.org

3, 7, 11, 23, 21, 37, 31, 51, 77, 49, 97, 85, 67, 99, 137, 149, 93, 169, 143, 111, 199, 167, 221, 281, 197, 153, 211, 163, 225, 533, 251, 323, 203, 479, 219, 367, 379, 315, 401, 413, 261, 601, 277, 369, 287, 751, 775, 415, 325, 429, 539, 343, 771, 575, 587, 599
Offset: 1

Views

Author

Odimar Fabeny, Sep 15 2014

Keywords

Crossrefs

Programs

  • Maple
    with(numtheory):
    a:= n-> ithprime(n+1)*n-ithprime(n)*(n-1):
    seq(a(n), n=1..60);  # Alois P. Heinz, Sep 15 2014
  • PARI
    a(n)=my(p=prime(n++)); p+n*(nextprime(p+1)-p) \\ Charles R Greathouse IV, Sep 15 2014

Formula

a(n) = A117495(n+1) - A117495(n).

Extensions

More terms from Alois P. Heinz, Sep 15 2014