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.

A245175 Second differences of A038580.

Original entry on oeis.org

14, 8, 40, -16, 46, -44, 46, 68, -58, 100, -66, -54, 54, 82, 38, -204, 314, -214, -64, 176, -20, 6, 120, -72, -158, 34, -58, 28, 680, -590, 4, -2, 304, -386, 208, 44, -180, 146, -74, -114, 408, -458, 136, -158, 652, 340, -902, -66, 60, 42, -30, 490, -466, 228
Offset: 1

Views

Author

N. J. A. Sloane, Jul 17 2014

Keywords

Crossrefs

Cf. A038580.

Programs

  • Maple
    a:= ((f-> n-> f(n+1)-f(n))@@2)(ithprime@@3):
    seq(a(n), n=1..60);
  • Mathematica
    Differences[Nest[Prime, Range[60], 3], 2] (* Jean-François Alcover, Oct 06 2018 *)
  • PARI
    f(n) = prime(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