OFFSET
0,2
COMMENTS
Sums of rows of the triangle in A155955.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..210
FORMULA
a(n) = h(n,n) with h(n,k) = if k<0 then 0 otherwise n*h(n,k-1)+(n-k)^(n-k).
MATHEMATICA
Table[Sum[(k*n)^k, {k, n}], {n, 0, 20}]+1 (* Harvey P. Dale, Apr 04 2017 *)
PROG
(Magma) [&+[(k*n)^k: k in [0..n]]: n in [0..20]]; // Bruno Berselli, Jul 04 2016
(PARI) vector(30, n, n--; sum(k=0, n, (k*n)^k)) \\ G. C. Greubel, Sep 14 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jan 31 2009
STATUS
approved