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.

A245174 Second differences of A006450.

Original entry on oeis.org

4, 0, 8, -4, 8, -10, 8, 10, -8, 12, -8, -10, 8, 10, 6, -30, 42, -26, -8, 20, -4, 0, 18, -10, -22, 8, -12, 6, 74, -62, 4, -10, 38, -44, 24, 6, -24, 16, -8, -8, 42, -48, 12, -14, 64, 32, -88, -10, 10
Offset: 1

Views

Author

N. J. A. Sloane, Jul 17 2014

Keywords

Crossrefs

Cf. A006450.

Programs

  • Mathematica
    Differences[Table[Prime[Prime[n]], {n, 1, 100}], 2] (* Jean-François Alcover, Oct 09 2018 *)
  • PARI
    f(n) = prime(prime(n))
    a(n) = f(n+2)-2*f(n+1)+f(n)
    vector(50, n, a(n)) \\ Jens Kruse Andersen, Jul 18 2014