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.

A138410 a(n) = prime(n)^6 - prime(n)^3.

Original entry on oeis.org

56, 702, 15500, 117306, 1770230, 4824612, 24132656, 47039022, 148023722, 594798932, 887473890, 2565675756, 4750035320, 6321283542, 10779111506, 22164212252, 42180328262, 51520147380, 90458081406, 128099926010
Offset: 1

Views

Author

Artur Jasinski, Mar 19 2008

Keywords

Programs

  • Magma
    [NthPrime((n))^6 - NthPrime((n))^3: n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011
  • Mathematica
    a = {}; Do[p = Prime[n]; AppendTo[a, p^6 - p^3], {n, 1, 50}]; a
  • PARI
    forprime(p=2,1e3,print1(p^6-p^3", ")) \\ Charles R Greathouse IV, Jun 16 2011