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

A173468
Sum n^k, k=0..n+1.
4
3, 15, 121, 1365, 19531, 335923, 6725601, 153391689, 3922632451, 111111111111, 3452271214393, 116719860413533, 4265491084507563, 167534872139182395, 7037580381120954241, 314824432191309680913, 14942027230321957802947
OFFSET
1,1
COMMENTS
1^0+1^1+1^2=3, 2^0+2^1+2^2+2^3=15, 3^0+3^1+3^2+3^3+3^4=121,..
LINKS
FORMULA
a(n) = (n^(n+2)-1)/(n-1) for n > 1. - Robert Israel, Sep 26 2016
MAPLE
3, seq((n^(n+2)-1)/(n-1), n=2..20); # Robert Israel, Sep 26 2016
MATHEMATICA
f[n_]:=Module[{s=0}, Do[s+=n^a, {a, 0, n+1}]; s]; lst={}; Do[AppendTo[lst, f[n]], {n, 30}]; lst
Table[Sum[n^k, {k, 0, n+1}], {n, 20}] (* Harvey P. Dale, Jan 04 2012 *)
CROSSREFS
Sequence in context: A156360 A377105 A160884 * A197505 A348903 A191371
KEYWORD
nonn
AUTHOR
STATUS
approved