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.

A138432 a(n) = ((n-th prime)^5-(n-th prime)^3)/2.

Original entry on oeis.org

12, 108, 1500, 8232, 79860, 184548, 707472, 1234620, 3212088, 10243380, 14299680, 34646652, 57893640, 73464468, 114620592, 209023308, 357359460, 422184660, 674912172, 901935720, 1036341288, 1538281680, 1969234428, 2791677240
Offset: 1

Views

Author

Artur Jasinski, Mar 19 2008

Keywords

Programs

  • Mathematica
    a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p^3)/2], {n, 1, 50}]; a
    Table[(n^5-n^3)/2,{n,Prime[Range[30]]}] (* Harvey P. Dale, Jul 17 2015 *)
  • PARI
    forprime(p=2,1e3,print1((p^5-p^3)/2", ")) \\ Charles R Greathouse IV, Jul 15 2011

Formula

a(n) = A138406(n)/2. - R. J. Mathar, Oct 15 2017