OFFSET
1,2
COMMENTS
a(n) = Sum_{i+j=p} (i^2)*(j^2) where p = prime(n). - Michel Lagneau, May 21 2012
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
FORMULA
a(n) = A138404(n)/30. - R. J. Mathar, Oct 15 2017
a(n) = A138426(n)/6. - Bernard Schott, Feb 28 2023
MATHEMATICA
Table[p = Prime[n]; (p^5 - p)/30, {n, 50}]
PROG
(Magma) [(NthPrime((n))^5 - NthPrime((n)))/30: n in [1..30]]; // Vincenzo Librandi, Jun 18 2011
(PARI) forprime(p=2, 1e3, print1((p^5-p)/30", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved