OFFSET
0,9
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-3,1,1,-2,1).
FORMULA
G.f.: (2*x^9-3*x^8+x^3-3*x^2+3*x-1)/((x^4+x-1)*(x-1)^2). - Alois P. Heinz, Feb 10 2019
EXAMPLE
The a(7) = 1 through a(9) = 10 partitions:
{{1234567}} {{12345678}} {{123456789}}
{{1234}{5678}} {{1234}{56789}}
{{1238}{4567}} {{12345}{6789}}
{{1278}{3456}} {{12349}{5678}}
{{1678}{2345}} {{12389}{4567}}
{{1239}{45678}}
{{12789}{3456}}
{{1289}{34567}}
{{16789}{2345}}
{{1789}{23456}}
MATHEMATICA
cycedsprop[n_, k_]:=Union[Sort/@Join@@Table[1+Mod[Range[i, j]-1, n], {i, n}, {j, i+k, n+i-1}]];
spsu[_, {}]:={{}}; spsu[foo_, set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]&/@spsu[Select[foo, Complement[#, Complement[set, s]]=={}&], Complement[set, s]]]/@Cases[foo, {i, ___}];
Table[Length[spsu[cycedsprop[n, 3], Range[n]]], {n, 15}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gus Wiseman, Feb 10 2019
EXTENSIONS
More terms from Alois P. Heinz, Feb 10 2019
STATUS
approved