A355744 Number of multisets that can be obtained by choosing a prime factor of each prime index of n.
1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 0, 1, 0, 2, 0, 2, 0, 1, 0, 2, 0, 1, 0, 2, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 2, 0, 1, 0, 1, 0, 2, 0, 2, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 0, 1, 0, 2
Offset: 1
Keywords
Examples
The a(169) = 3 multisets are: {2,2}, {2,3}, {3,3}. The a(507) = 3 multisets are: {2,2,2}, {2,2,3}, {2,3,3}.
Links
- Wikipedia, Axiom of choice.
Crossrefs
Programs
-
Mathematica
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Table[Length[Union[Sort/@Tuples[primeMS/@primeMS[n]]]],{n,100}]
Comments