login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A279790 Number of twice-partitions of type (Q,P,Q) and weight n. 14
1, 1, 3, 3, 5, 11, 12, 18, 24, 49, 53, 82, 102, 149, 236, 297, 392, 540, 702, 924, 1423, 1723, 2318, 3016, 3969, 5037, 6647, 9285, 11448, 15048, 19143, 24695, 31288, 40075, 50014, 68583, 83056, 107252, 133796, 171565 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Also number of ways to choose a sum-preserving permutation of a set partition of a strict partition of n.
LINKS
EXAMPLE
The a(6)=11 twice-partitions are:
((6)),
((5)(1)), ((51)),
((4)(2)), ((42)),
((3)(2)(1)), ((3)(21)), ((21)(3)), ((31)(2)), ((32)(1)), ((321)).
MATHEMATICA
nn=20;
sps[{}]:={{}}; sps[set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]&/@sps[Complement[set, s]]]/@Cases[Subsets[set], {i, ___}];
Table[Total[Sum[Times@@Factorial/@Length/@Split[Sort[Total/@ptn]], {ptn, sps[Sort[#]]}]&/@Select[IntegerPartitions[n], UnsameQ@@#&]], {n, nn}]
CROSSREFS
Sequence in context: A218354 A286514 A235859 * A338847 A032020 A261962
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 18 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 17:36 EDT 2024. Contains 371749 sequences. (Running on oeis4.)