OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p^3)/24], {n, 1, 50}]; a
(#^5-#^3)/24&/@Prime[Range[40]] (* Harvey P. Dale, May 21 2017 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^5-p^3)/24", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved