A323847 a(n) = (n-1)*(n-2)*(n^2+9*n+12)/24.
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
Links
- Paolo Xausa, Table of n, a(n) for n = 0..10000
- Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
Crossrefs
Cf. A323846.
Programs
-
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 *)
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
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.
Comments