OFFSET
1,2
COMMENTS
A prime index of n is a number m such that prime(m) divides n.
EXAMPLE
The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k). The sequence of all integer partitions whose Heinz numbers belong to the sequence begins: (), (1), (2), (11), (3), (21), (4), (111), (22), (31), (5), (211), (6), (41), (1111), (7), (221), (8), (311), (42), (51), (9), (2111), (33), (61), (222), (411).
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
radbase[n_]:=n^(1/GCD@@FactorInteger[n][[All, 2]]);
Select[Range[100], SameQ@@radbase/@DeleteCases[primeMS[#], 1]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 30 2018
STATUS
approved