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.

A138430 a(n) = (prime(n)^5 - prime(n))/30.

Original entry on oeis.org

1, 8, 104, 560, 5368, 12376, 47328, 82536, 214544, 683704, 954304, 2311464, 3861872, 4900280, 7644832, 13939848, 23830808, 28153208, 45004168, 60140976, 69102384, 102568544, 131301352, 186135312, 286244672, 350336680, 386424688, 467517240, 512874648
Offset: 1

Views

Author

Artur Jasinski, Mar 19 2008

Keywords

Comments

a(n) = Sum_{i+j=p} (i^2)*(j^2) where p = prime(n). - Michel Lagneau, May 21 2012

Crossrefs

Programs

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

Formula

a(n) = A138404(n)/30. - R. J. Mathar, Oct 15 2017
a(n) = A138426(n)/6. - Bernard Schott, Feb 28 2023