OFFSET
0,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,3,-5,-8,3,19,4,-24,-15,15,24,-4,-19,-3,8,5,-3,-2,1).
FORMULA
G.f.: (x^10+3*x^8+10*x^7+16*x^6+12*x^5+16*x^4+10*x^3+3*x^2+1) / ((1-x^3)^3*(1-x^2)^4*(1-x)^2).
MATHEMATICA
<<Combinatorica`
nn=30; n=3; CoefficientList[Series[CycleIndex[Join[PairGroup[SymmetricGroup[n], Ordered], Permutations[Range[n*(n - 1) + 1, n*(n - 1) + n]], 2], s] /.Table[s[i] -> 1/(1 - x^i), {i, 1, n^2 - n}], {x, 0, nn}], x] (* Geoffrey Critzer, Aug 07 2015 *)
CoefficientList[Series[(x^10 + 3 x^8 + 10 x^7 + 16 x^6 + 12 x^5 + 16 x^4 + 10 x^3 + 3 x^2 + 1)/((1 - x^3)^3 (1 - x^2)^4 (1 - x)^2), {x, 0, 33}], x] (* Vincenzo Librandi, Aug 08 2015 *)
PROG
(PARI) Vec((1 + 3*x^2 + 10*x^3 + 16*x^4 + 12*x^5 + 16*x^6 + 10*x^7 + 3*x^8 + x^10)/((1 - x)^2*(1 - x^2)^4*(1 - x^3)^3) + O(x^40)) \\ Andrew Howroyd, Mar 16 2020
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Dec 30 1999
STATUS
approved