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.

A138446 a(n) = ((n-th prime)^6-(n-th prime)^2)/10.

Original entry on oeis.org

6, 72, 1560, 11760, 177144, 482664, 2413728, 4704552, 14803536, 59482248, 88750272, 256572504, 475010256, 632136120, 1077921312, 2216435832, 4218053016, 5152037064, 9045837768, 12810027888, 15133422096, 24308744928
Offset: 1

Views

Author

Artur Jasinski, Mar 19 2008

Keywords

Programs

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