OFFSET
1,1
EXAMPLE
If p=2, (1/30)*(2*(2+1)*(2*2+1)*(3*2^2+3*2-1)) = 17
MATHEMATICA
Table[(p(p+1)(2p+1)(3p^2+3p-1))/30, {p, Prime[Range[30]]}] (* Harvey P. Dale, Mar 10 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Nov 05 2004
EXTENSIONS
More terms from Klaus Brockhaus, Nov 09 2004
STATUS
approved