login
A323847
a(n) = (n-1)*(n-2)*(n^2+9*n+12)/24.
2
1, 0, 0, 4, 16, 41, 85, 155, 259, 406, 606, 870, 1210, 1639, 2171, 2821, 3605, 4540, 5644, 6936, 8436, 10165, 12145, 14399, 16951, 19826, 23050, 26650, 30654, 35091, 39991, 45385, 51305, 57784, 64856, 72556, 80920, 89985, 99789, 110371, 121771, 134030, 147190
OFFSET
0,4
COMMENTS
Row 2 of array in A323846.
FORMULA
G.f.: (x^4-6*x^3+10*x^2-5*x+1)/(1-x)^5. - Alois P. Heinz and Don Knuth, Feb 06 2019
MATHEMATICA
A323847[n_]:=(n-1)(n-2)(n^2+9n+12)/24; Array[A323847, 100, 0] (* or *)
LinearRecurrence[{5, -10, 10, -5, 1}, {1, 0, 0, 4, 16}, 100] (* Paolo Xausa, Nov 15 2023 *)
CROSSREFS
Cf. A323846.
Sequence in context: A206918 A056373 A018828 * A114211 A188124 A344857
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 06 2019
EXTENSIONS
More terms from Alois P. Heinz, Feb 06 2019
Edited with new offset by N. J. A. Sloane, Feb 07 2019 following a suggestion from Don Knuth.
STATUS
approved