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 sequence of terms together with their prime indices begins:
9: {2,2}
30: {1,2,3}
49: {4,4}
63: {2,2,4}
65: {3,6}
81: {2,2,2,2}
84: {1,1,2,4}
108: {1,1,2,2,2}
125: {3,3,3}
150: {1,2,3,3}
154: {1,4,5}
165: {2,3,5}
169: {6,6}
190: {1,3,8}
198: {1,2,2,5}
200: {1,1,1,3,3}
259: {4,12}
264: {1,1,1,2,5}
273: {2,4,6}
333: {2,2,12}
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[2, 1000], !PrimeQ[#]&&Divisible[Times@@primeMS[#], Plus@@primeMS[#]]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 09 2019
STATUS
approved