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.

A138425 a(n) = (prime(n)^5 - prime(n))/3.

Original entry on oeis.org

10, 80, 1040, 5600, 53680, 123760, 473280, 825360, 2145440, 6837040, 9543040, 23114640, 38618720, 49002800, 76448320, 139398480, 238308080, 281532080, 450041680, 601409760, 691023840, 1025685440, 1313013520, 1861353120
Offset: 1

Views

Author

Artur Jasinski, Mar 19 2008

Keywords

Programs

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

Formula

a(n) = A138404(n)/3. - R. J. Mathar, Oct 15 2017