Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%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