OFFSET
1,1
COMMENTS
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
EXAMPLE
The terms together with their prime indices begin:
9: {2,2}
21: {2,4}
25: {3,3}
27: {2,2,2}
45: {2,2,3}
49: {4,4}
57: {2,8}
63: {2,2,4}
75: {2,3,3}
81: {2,2,2,2}
99: {2,2,5}
105: {2,3,4}
For example, the prime indices of 897 are {2,6,9}, of which we can choose prime factors in two ways: (2,2,3) or (2,3,3); but neither of these has all distinct elements, so 897 is in the sequence.
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[100], OddQ[#]&&Select[Tuples[primeMS/@primeMS[#]], UnsameQ@@#&]=={}&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 22 2022
STATUS
approved