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 a(n) = (prime(n)^5 - prime(n))/30. 4

%I #21 Feb 28 2023 13:49:04

%S 1,8,104,560,5368,12376,47328,82536,214544,683704,954304,2311464,

%T 3861872,4900280,7644832,13939848,23830808,28153208,45004168,60140976,

%U 69102384,102568544,131301352,186135312,286244672,350336680,386424688,467517240,512874648

%N a(n) = (prime(n)^5 - prime(n))/30.

%C a(n) = Sum_{i+j=p} (i^2)*(j^2) where p = prime(n). - _Michel Lagneau_, May 21 2012

%H Vincenzo Librandi, <a href="/A138430/b138430.txt">Table of n, a(n) for n = 1..200</a>

%F a(n) = A138404(n)/30. - _R. J. Mathar_, Oct 15 2017

%F a(n) = A138426(n)/6. - _Bernard Schott_, Feb 28 2023

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

%o (Magma) [(NthPrime((n))^5 - NthPrime((n)))/30: n in [1..30]]; // _Vincenzo Librandi_, Jun 18 2011

%o (PARI) forprime(p=2,1e3,print1((p^5-p)/30", ")) \\ _Charles R Greathouse IV_, Jul 15 2011

%Y Cf. A000040, A138404, A138426.

%K nonn,easy

%O 1,2

%A _Artur Jasinski_, Mar 19 2008

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 September 5 19:19 EDT 2024. Contains 375700 sequences. (Running on oeis4.)