OFFSET
0,7
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-3,2,-2,1).
FORMULA
G.f.: (x^7-2*x^6+x^3-3*x^2+3*x-1)/((x^3+x-1)*(x-1)^2). - Alois P. Heinz, Feb 10 2019
EXAMPLE
The a(3) = 1 through a(7) = 8 partitions:
{{123}} {{1234}} {{12345}} {{123456}} {{1234567}}
{{123}{456}} {{123}{4567}}
{{126}{345}} {{1234}{567}}
{{156}{234}} {{1237}{456}}
{{1267}{345}}
{{127}{3456}}
{{1567}{234}}
{{167}{2345}}
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, 2], 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
