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.

A138411 a(n) = prime(n)^6 - prime(n)^4.

Original entry on oeis.org

48, 648, 15000, 115248, 1756920, 4798248, 24054048, 46915560, 147756048, 594116040, 886580160, 2563852248, 4747278480, 6317944248, 10774335648, 22156470648, 42168416280, 51506528520, 90438231048, 128074872240
Offset: 1

Views

Author

Artur Jasinski, Mar 19 2008

Keywords

Programs

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