OFFSET
3,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 3..1000
Index entries for linear recurrences with constant coefficients, signature (4,-2,-2,6,-17,-16,-30,6,32,48,12,-16,-16,-9,2,-2,-2,2,1).
FORMULA
EXAMPLE
a(4) = 10: 2341, 2431, 3241, 3421, 4123, 4132, 4213, 4231, 4312, 4321.
MATHEMATICA
Drop[CoefficientList[Series[x^4(x^11+x^10-3x^9+x^8+4x^7-4x^6-4x^5-5x^4+11x^3+11x^2-7x-10)/((x-1)(x^5-2x^3-2x+1)(x^13+3x^12+3x^11+ 5x^10+9x^9+ 7x^8-3x^7- 19x^6-21x^5-13x^4-3x^3-3x^2-x+1)), {x, 0, 30}], x], 3] (* or *) LinearRecurrence[{4, -2, -2, 6, -17, -16, -30, 6, 32, 48, 12, -16, -16, -9, 2, -2, -2, 2, 1}, {0, 10, 47, 157, 503, 1669, 5472, 17531, 55135, 172134, 535510, 1660795, 5133470, 15826173, 48706210, 149721544, 459820058, 1411142937, 4328181110}, 30] (* Harvey P. Dale, Sep 16 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Jan 28 2019
STATUS
approved
