OFFSET
0,2
FORMULA
a(n) = Sum_{k=0..n} binomial(n - 1, k - 1) * n^(n - k) * (k + 1). (See A137452.)
MAPLE
a := n -> (n + 1)^(n - 2)*(3*n + 1): seq(a(n), n = 0..19);
MATHEMATICA
A367255[n_]:=(n+1)^(n-2)(3n+1);
Array[A367255, 25, 0] (* Paolo Xausa, Dec 01 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Nov 11 2023
STATUS
approved