OFFSET
1,10
COMMENTS
An integer partition is 2-edge-connected if the hypergraph of prime factorizations of its parts is connected and cannot be disconnected by removing any single part.
LINKS
EXAMPLE
The a(24) = 18 strict 2-edge-connected integer partitions of 24:
(15,9) (10,8,6) (10,8,4,2)
(16,8) (12,8,4) (12,6,4,2)
(18,6) (12,9,3)
(20,4) (14,6,4)
(21,3) (14,8,2)
(22,2) (15,6,3)
(14,10) (16,6,2)
(18,4,2)
(12,10,2)
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
csm[s_]:=With[{c=Select[Tuples[Range[Length[s]], 2], And[OrderedQ[#], UnsameQ@@#, Length[Intersection@@s[[#]]]>0]&]}, If[c=={}, s, csm[Sort[Append[Delete[s, List/@c[[1]]], Union@@s[[c[[1]]]]]]]]];
twoedQ[sys_]:=And[Length[csm[sys]]==1, And@@Table[Length[csm[Delete[sys, i]]]==1, {i, Length[sys]}]];
Table[Length[Select[IntegerPartitions[n], And[UnsameQ@@#, twoedQ[primeMS/@#]]&]], {n, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 04 2018
STATUS
approved