A386587 Number of ways to choose a pairwise disjoint family of strict integer partitions, one of each exponent in the prime factorization of n.
1, 1, 1, 1, 1, 0, 1, 2, 1, 0, 1, 1, 1, 0, 0, 2, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 2, 1, 1, 0, 1, 3, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 4, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 2, 0, 1, 0, 0, 0, 0
Offset: 1
Keywords
Examples
The prime exponents of 864 = 2^5 * 3^3 are (5,3), with disjoint families {{3},{5}}, {{3},{1,4}}, {{5},{1,2}}, so a(864) = 3.
Crossrefs
Programs
-
Mathematica
disjointFamilies[y_]:=Union[Sort/@Select[Tuples[IntegerPartitions/@Length/@Split[y]],UnsameQ@@Join@@#&]]; prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Table[Length[disjointFamilies[prix[n]]],{n,100}]
Comments