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. The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).
EXAMPLE
The sequence of terms together with their prime indices begins:
1: {}
3: {2}
5: {3}
7: {4}
9: {2,2}
11: {5}
13: {6}
17: {7}
19: {8}
21: {2,4}
23: {9}
25: {3,3}
27: {2,2,2}
29: {10}
31: {11}
33: {2,5}
35: {3,4}
37: {12}
39: {2,6}
41: {13}
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[100], !MemberQ[primeMS[#], k_/; SubsetQ[primeMS[#], primeMS[k]]]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 17 2019
STATUS
approved