A373962 Number of compositions of 6*n-2 into parts 5 and 6.
0, 1, 3, 6, 10, 15, 22, 37, 81, 210, 550, 1354, 3096, 6646, 13655, 27490, 55523, 114516, 242652, 525221, 1147796, 2504932, 5423381, 11627959, 24732634, 52379410, 110882143, 235293738, 501101305, 1070653949, 2291969970, 4908426206, 10503741114, 22448059156
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,7,-1).
Programs
-
Mathematica
LinearRecurrence[{6,-15,20,-15,7,-1},{0,1,3,6,10,15},40] (* Harvey P. Dale, Nov 16 2024 *)
-
PARI
a(n) = sum(k=0, n\5, binomial(n+k, n-2-5*k));