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.

A138457 a(n) = ((n-th prime)^6-(n-th prime)^4)/8.

Original entry on oeis.org

6, 81, 1875, 14406, 219615, 599781, 3006756, 5864445, 18469506, 74264505, 110822520, 320481531, 593409810, 789743031, 1346791956, 2769558831, 5271052035, 6438316065, 11304778881, 16009359030, 18913228506, 30381063180
Offset: 1

Views

Author

Artur Jasinski, Mar 22 2008

Keywords

Programs

  • Mathematica
    a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^4)/8], {n, 1, 24}]; a
  • PARI
    forprime(p=2,1e3,print1((p^6-p^4)/8", ")) \\ Charles R Greathouse IV, Jul 15 2011