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 positions of 11 in A379681 are: 15, 22, 56, 72, 160, 384, 1024, so a(11) = 15.
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
sp=Table[Plus@@prix[n]+Times@@prix[n], {n, 1000}];
mnrm[s_]:=If[Min@@s==1, mnrm[DeleteCases[s-1, 0]]+1, 0];
Table[Position[sp, n][[1, 1]], {n, mnrm[sp]}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 05 2025
STATUS
approved
