login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

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: A209504 A320529 A280896 * A320646 A241709 A085528

Adjacent sequences:  A138435 A138436 A138437 * A138439 A138440 A138441

KEYWORD

nonn,easy

AUTHOR

Artur Jasinski, Mar 19 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 24 14:44 EDT 2021. Contains 348233 sequences. (Running on oeis4.)