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
Robert Israel, Table of n, a(n) for n = 1..385
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
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Feb 18 2010
STATUS
approved