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:
2: {1}
3: {2}
5: {3}
11: {5}
13: {6}
14: {1,4}
17: {7}
21: {2,4}
29: {10}
31: {11}
35: {3,4}
38: {1,8}
41: {13}
43: {14}
46: {1,9}
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[1000], Length[Select[prix[#], SquareFreeQ]]==1&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 29 2024
STATUS
approved