login
A367255
a(n) = (n + 1)^(n - 2)*(3*n + 1).
1
1, 2, 7, 40, 325, 3456, 45619, 720896, 13286025, 280000000, 6645125311, 175432531968, 5100764198413, 161982606786560, 5579092529296875, 207165582859042816, 8250513501410645521, 350825312056827838464, 15864277746219164222455, 760217600000000000000000
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
Cf. A137452.
Sequence in context: A346220 A166904 A105625 * A135082 A372348 A102317
KEYWORD
nonn
AUTHOR
Peter Luschny, Nov 11 2023
STATUS
approved