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.

A138450 a(n) = ((n-th prime)^6-(n-th prime)^2)/30.

Original entry on oeis.org

2, 24, 520, 3920, 59048, 160888, 804576, 1568184, 4934512, 19827416, 29583424, 85524168, 158336752, 210712040, 359307104, 738811944, 1406017672, 1717345688, 3015279256, 4270009296, 5044474032, 8102914976, 10898012216, 16566042768
Offset: 1

Views

Author

Artur Jasinski, Mar 19 2008, Mar 22 2008

Keywords

Programs

  • Mathematica
    a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/30], {n, 1, 50}]; a
    (#^6-#^2)/30&/@Prime[Range[30]] (* Harvey P. Dale, Jan 23 2019 *)
  • PARI
    forprime(p=2,1e3,print1((p^6-p^2)/30", ")) \\ Charles R Greathouse IV, Jul 15 2011