login
The OEIS is supported by the many generous donors to the OEIS 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
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

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 17:54 EDT 2024. Contains 372388 sequences. (Running on oeis4.)