login
A138438
a(n) = ((n-th prime)^5-(n-th prime)^3)/24.
3
1, 9, 125, 686, 6655, 15379, 58956, 102885, 267674, 853615, 1191640, 2887221, 4824470, 6122039, 9551716, 17418609, 29779955, 35182055, 56242681, 75161310, 86361774, 128190140, 164102869, 232639770, 357767816, 437877925, 482985334
OFFSET
1,2
LINKS
FORMULA
a(n) = A138406(n)/24 = A138437(n)/2. - R. J. Mathar, Oct 15 2017
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
Sequence in context: A320529 A280896 A364940 * A320646 A241709 A085528
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved