OFFSET
1,6
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 31st semiprime has prime indices (4,6), so the quotient is 4/6 = 2/3; hence a(31) = 2.
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Numerator/@Divide@@@primeMS/@Select[Range[100], PrimeOmega[#]==2&]
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Gus Wiseman, Nov 03 2022
STATUS
approved