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.

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

Original entry on oeis.org

8, 108, 2500, 19208, 292820, 799708, 4009008, 7819260, 24626008, 99019340, 147763360, 427308708, 791213080, 1052990708, 1795722608, 3692745108, 7028069380, 8584421420, 15073038508, 21345812040, 25217638008, 40508084240
Offset: 1

Views

Author

Artur Jasinski, Mar 22 2008

Keywords

Programs

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