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.

A138443 a(n) = ((n-th prime)^6-(n-th prime^2))/4.

Original entry on oeis.org

15, 180, 3900, 29400, 442860, 1206660, 6034320, 11761380, 37008840, 148705620, 221875680, 641431260, 1187525640, 1580340300, 2694803280, 5541089580, 10545132540, 12880092660, 22614594420, 32025069720, 37833555240
Offset: 1

Views

Author

Artur Jasinski, Mar 19 2008

Keywords

Programs

  • Mathematica
    a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/4], {n, 1, 50}]; a
  • PARI
    forprime(p=2,1e3,print1((p^6-p^2)/4", ")) \\ Charles R Greathouse IV, Jul 15 2011

Formula

a(n) = A138409(n)/4. - R. J. Mathar, Oct 15 2017