A356931 Number of multiset partitions of the prime indices of n into multisets of odd numbers. Number of factorizations of n into members of A066208.
1, 1, 0, 2, 1, 0, 0, 3, 0, 2, 1, 0, 0, 0, 0, 5, 1, 0, 0, 4, 0, 2, 1, 0, 2, 0, 0, 0, 0, 0, 1, 7, 0, 2, 0, 0, 0, 0, 0, 7, 1, 0, 0, 4, 0, 2, 1, 0, 0, 4, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 2, 0, 11, 0, 0, 1, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 0, 2, 1, 0, 2, 0
Offset: 1
Keywords
Examples
The a(440) = 21 multiset partitions of {1,1,1,3,5}: {1}{1}{1}{3}{5} {1}{1}{1}{35} {1}{1}{135} {1}{1135} {11135} {1}{1}{13}{5} {1}{11}{35} {11}{135} {1}{11}{3}{5} {11}{13}{5} {111}{35} {1}{1}{3}{15} {1}{13}{15} {113}{15} {11}{3}{15} {13}{115} {1}{3}{115} {3}{1115} {1}{5}{113} {5}{1113} {3}{111}{5}
Crossrefs
Programs
-
Mathematica
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; facs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[facs[n/d],Min@@#>=d&]],{d,Rest[Divisors[n]]}]]; Table[Length[Select[facs[n],And@@(OddQ[Times@@primeMS[#]]&/@#)&]],{n,100}]
Comments