OFFSET
1,4
COMMENTS
Given a factorization f consisting of positive integers greater than one, let G(F) be a multigraph with one vertex for each factor and n edges between any two vertices with n common divisors greater than 1. For example, G(6,14,15,35) is a 4-cycle; G(6,12) is a 2-cycle because 6 and 12 have multiple common divisors. This sequence counts factorizations f such that G(f) is a forest, meaning it has no cycles. [Comment edited by Robert Munafo, Mar 24 2024]
EXAMPLE
The a(72) = 14 factorizations:
(72)
(2*36) (3*24) (4*18) (8*9)
(2*2*18) (2*3*12) (2*4*9) (3*3*8) (3*4*6)
(2*2*2*9) (2*2*3*6) (2*3*3*4)
(2*2*2*3*3)
not counted: (2*6*6) because 6 and 6 share multiple divisors; likewise (6*12) because 6 and 12 share multiple divisors.
MATHEMATICA
zsm[s_]:=With[{c=Select[Tuples[Range[Length[s]], 2], And[Less@@#, GCD@@s[[#]]]>1&]}, If[c=={}, s, zsm[Union[Append[Delete[s, List/@c[[1]]], LCM@@s[[c[[1]]]]]]]]];
zensity[s_]:=Total[(PrimeNu[#]-1&)/@s]-PrimeNu[LCM@@s];
Table[Length[Select[facs[n], Function[f, And@@(zensity[Select[f, Function[x, Divisible[#, x]]]]==-1&/@zsm[f])]]], {n, 200}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 28 2018
EXTENSIONS
Extensive clarification by Robert Munafo, Mar 22 2024
STATUS
approved