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

A262926
Sum of n consecutive n-th powers starting with n^n.
1
0, 1, 31, 3408, 873580, 405071029, 295716738515, 312086923732368, 449317984129326216, 846136323944158864793, 2018612200059553898143707, 5949463230586042065279268128, 21227845340442717633531647231668, 90172805592203250075964230466892813
OFFSET
0,3
EXAMPLE
a(3) = 3^3 + 4^4 + 5^5 = 3408.
MATHEMATICA
Table[Sum[k^k, {k, n, 2 n - 1}], {n, 0, 13}] (* Michael De Vlieger, Oct 05 2015 *)
PROG
(PARI) vector(20, n, n--; sum(k=n, 2*n-1, k^k))
(Sage) [sum(k^k for k in (n..2*n-1)) for n in (0..20)] # Bruno Berselli, Oct 05 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Oct 04 2015
STATUS
approved