%I #20 Nov 15 2023 12:18:11
%S 1,0,0,4,16,41,85,155,259,406,606,870,1210,1639,2171,2821,3605,4540,
%T 5644,6936,8436,10165,12145,14399,16951,19826,23050,26650,30654,35091,
%U 39991,45385,51305,57784,64856,72556,80920,89985,99789,110371,121771,134030,147190
%N a(n) = (n-1)*(n-2)*(n^2+9*n+12)/24.
%C Row 2 of array in A323846.
%H Paolo Xausa, <a href="/A323847/b323847.txt">Table of n, a(n) for n = 0..10000</a>
%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (5,-10,10,-5,1).
%F 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
%t A323847[n_]:=(n-1)(n-2)(n^2+9n+12)/24;Array[A323847,100,0] (* or *)
%t LinearRecurrence[{5,-10,10,-5,1},{1,0,0,4,16},100] (* _Paolo Xausa_, Nov 15 2023 *)
%Y Cf. A323846.
%K nonn,easy
%O 0,4
%A _N. J. A. Sloane_, Feb 06 2019
%E More terms from _Alois P. Heinz_, Feb 06 2019
%E Edited with new offset by _N. J. A. Sloane_, Feb 07 2019 following a suggestion from _Don Knuth_.