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!)
A138435 a(n) = ((n-th prime)^5-(n-th prime)^3)/6. 3
4, 36, 500, 2744, 26620, 61516, 235824, 411540, 1070696, 3414460, 4766560, 11548884, 19297880, 24488156, 38206864, 69674436, 119119820, 140728220, 224970724, 300645240, 345447096, 512760560, 656411476, 930559080, 1431071264 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A138406(n)/6. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p^3)/6], {n, 1, 50}]; a
(#^5-#^3)/6&/@Prime[Range[30]] (* Harvey P. Dale, Apr 01 2019 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^5-p^3)/6", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A094417 A349504 A354264 * A366337 A008546 A277404
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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)