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!)
A138430 (prime(n)^5 - prime(n))/30. 3
1, 8, 104, 560, 5368, 12376, 47328, 82536, 214544, 683704, 954304, 2311464, 3861872, 4900280, 7644832, 13939848, 23830808, 28153208, 45004168, 60140976, 69102384, 102568544, 131301352, 186135312, 286244672, 350336680, 386424688, 467517240, 512874648 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(n) = Sum_{i+j=p}(i^2)*(j^2) where p = prime(n). - Michel Lagneau, May 21 2012

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..200

FORMULA

a(n) = A138404(n)/30. - R. J. Mathar, Oct 15 2017

MATHEMATICA

Table[p = Prime[n]; (p^5 - p)/30, {n, 50}]

PROG

(MAGMA) [(NthPrime((n))^5 - NthPrime((n)))/30: n in [1..30]]; // Vincenzo Librandi, Jun 18 2011

(PARI) forprime(p=2, 1e3, print1((p^5-p)/30", ")) \\ Charles R Greathouse IV, Jul 15 2011

CROSSREFS

Sequence in context: A090237 A222664 A190786 * A164760 A335608 A109774

Adjacent sequences:  A138427 A138428 A138429 * A138431 A138432 A138433

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 January 25 22:06 EST 2022. Contains 350572 sequences. (Running on oeis4.)