OFFSET
0,5
COMMENTS
A vertical section is a partial Young diagram with at most one square in each row.
Conjecture: a(n) is the number of non-half-loop-graphical partitions of n. An integer partition is half-loop-graphical if it comprises the multiset of vertex-degrees of some graph with half-loops, where a half-loop is an edge with one vertex, to be distinguished from a full loop, which has two equal vertices.
LINKS
Eric Weisstein's World of Mathematics, Degree Sequence.
FORMULA
EXAMPLE
The a(2) = 1 through a(9) = 14 partitions whose Young diagram cannot be partitioned into vertical sections of the same sizes as the parts of the original partition are the same as the non-half-loop-graphical partitions up to n = 9:
(2) (3) (4) (5) (6) (7) (8) (9)
(31) (32) (33) (43) (44) (54)
(41) (42) (52) (53) (63)
(51) (61) (62) (72)
(411) (331) (71) (81)
(421) (422) (432)
(511) (431) (441)
(521) (522)
(611) (531)
(5111) (621)
(711)
(4311)
(5211)
(6111)
For example, a complete list of all half/full-loop-graphs with degrees y = (4,3,1) is the following:
{{1,1},{1,2},{1,3},{2,2}}
{{1},{2},{1,1},{1,2},{2,3}}
{{1},{2},{1,1},{1,3},{2,2}}
{{1},{3},{1,1},{1,2},{2,2}}
None of these is a half-loop-graph, as they have full loops (x,x), so y is counted under a(8).
MATHEMATICA
spsu[_, {}]:={{}}; spsu[foo_, set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]&/@spsu[Select[foo, Complement[#, Complement[set, s]]=={}&], Complement[set, s]]]/@Cases[foo, {i, ___}];
ptnpos[y_]:=Position[Table[1, {#}]&/@y, 1];
ptnverts[y_]:=Select[Join@@Table[Subsets[ptnpos[y], {k}], {k, Reverse[Union[y]]}], UnsameQ@@First/@#&];
Table[Length[Select[IntegerPartitions[n], Select[spsu[ptnverts[#], ptnpos[#]], Function[p, Sort[Length/@p]==Sort[#]]]=={}&]], {n, 8}]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Nov 18 2018
STATUS
approved