OFFSET
1,27
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.
By "proper" we exclude the case of all singletons.
EXAMPLE
The prime indices of 216 are {1,1,1,2,2,2}, with conjugate partition (6,3), with proper choices ((6),(2,1)), ((5,1),(3)), and ((4,2),(3)), so a(216) = 3.
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
conj[y_]:=If[Length[y]==0, y, Table[Length[Select[y, #>=k&]], {k, 1, Max[y]}]];
pofprop[y_]:=Select[DeleteCases[Join@@@Tuples[IntegerPartitions/@y], y], UnsameQ@@#&];
Table[Length[pofprop[conj[prix[n]]]], {n, 100}]
CROSSREFS
Conjugate prime indices are the rows of A122111.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 03 2025
STATUS
approved
