OFFSET
1,7
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.
LINKS
Wikipedia, Cartesian product.
FORMULA
Totally multiplicative with a(prime(k)) = A001222(k).
EXAMPLE
The prime indices of 49 are {4,4}, and the a(49) = 4 choices are: (2,2), (2,4), (4,2), (4,4).
The prime indices of 777 are {2,4,12}, and the a(777) = 6 choices are: (2,2,2), (2,2,3), (2,2,4), (2,4,2), (2,4,3), (2,4,4).
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Table[Times@@PrimeOmega/@primeMS[n], {n, 100}]
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Gus Wiseman, Jul 20 2022
STATUS
approved