login

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”).

A024527
a(n) = sum of cubes of p(j) - p(i), for 0 <= i < j <= n, where p(0) = 1.
0
1, 10, 109, 522, 3043, 7838, 21061, 41110, 81955, 178510, 302075, 539382, 885581, 1297982, 1869659, 2758406, 4076543, 5566538, 7670387, 10274536, 13158999, 17017244, 21645981, 27634492, 35865619, 45423702, 55700987, 67534604, 80208039, 94691374
OFFSET
1,2
PROG
(PARI) p(n) = if (n==0, 1, prime(n));
a(n) = sum(i=0, n-1, sum(j=i+1, n, (p(j)-p(i))^3));
\\ Michel Marcus, Mar 23 2013
CROSSREFS
Sequence in context: A163206 A246073 A261920 * A291894 A217322 A198700
KEYWORD
nonn
STATUS
approved