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.

A138458 a(n) = ((n-th prime)^6-(n-th prime)^4)/24.

Original entry on oeis.org

2, 27, 625, 4802, 73205, 199927, 1002252, 1954815, 6156502, 24754835, 36940840, 106827177, 197803270, 263247677, 448930652, 923186277, 1757017345, 2146105355, 3768259627, 5336453010, 6304409502, 10127021060, 13620538127
Offset: 1

Views

Author

Artur Jasinski, Mar 22 2008

Keywords

Programs

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