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.
These are numbers divisible by a prime number not of the form prime(q^k) where q is a prime number and k >= 1.
EXAMPLE
The terms together with their prime indices begin:
13: {6}
26: {1,6}
29: {10}
37: {12}
39: {2,6}
43: {14}
47: {15}
52: {1,1,6}
58: {1,10}
61: {18}
65: {3,6}
71: {20}
73: {21}
74: {1,12}
78: {1,2,6}
79: {22}
86: {1,14}
87: {2,10}
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[100], !And@@PrimePowerQ/@DeleteCases[primeMS[#], 1]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 25 2022
STATUS
approved