A370584 Number of subsets of {1..n} such that only one set can be obtained by choosing a different prime factor of each element.
1, 1, 2, 4, 6, 12, 18, 36, 48, 68, 104, 208, 284, 568, 888, 1296, 1548, 3096, 3968, 7936, 10736, 15440, 24008, 48016, 58848, 73680, 114368, 132608, 176240, 352480, 449824, 899648, 994976, 1399968, 2160720, 2859584, 3296048, 6592096, 10156672, 14214576, 16892352
Offset: 0
Keywords
Examples
The a(0) = 1 through a(6) = 18 subsets: {} {} {} {} {} {} {} {2} {2} {2} {2} {2} {3} {3} {3} {3} {2,3} {4} {4} {4} {2,3} {5} {5} {3,4} {2,3} {2,3} {2,5} {2,5} {3,4} {2,6} {3,5} {3,4} {4,5} {3,5} {2,3,5} {3,6} {3,4,5} {4,5} {4,6} {2,3,5} {2,5,6} {3,4,5} {3,5,6} {4,5,6}
Crossrefs
Programs
-
Mathematica
Table[Length[Select[Subsets[Range[n]], Length[Union[Sort/@Select[Tuples[If[#==1, {},First/@FactorInteger[#]]&/@#], UnsameQ@@#&]]]==1&]],{n,0,10}]
Extensions
More terms from Jinyuan Wang, Mar 28 2025
Comments