OFFSET
1,2
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:
1: {}
7: {4}
19: {8}
23: {9}
37: {12}
49: {4,4}
53: {16}
61: {18}
71: {20}
89: {24}
97: {25}
103: {27}
107: {28}
131: {32}
133: {4,8}
151: {36}
161: {4,9}
173: {40}
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[1000], Length[Select[prix[#], SquareFreeQ]]==0&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 27 2024
STATUS
approved
