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 Look-and-Say partition of a multiset or partition y is obtained by interchanging parts with multiplicities. For example, starting with (3,2,2,1,1) we get (2,2,2,1,1,1), the multiset union of ((1,1,1),(2,2),(2)).
EXAMPLE
The terms together with their prime indices begin:
1: {}
2: {1}
3: {2}
4: {1,1}
5: {3}
7: {4}
9: {2,2}
11: {5}
12: {1,1,2}
13: {6}
17: {7}
18: {1,2,2}
19: {8}
20: {1,1,3}
23: {9}
24: {1,1,1,2}
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
hls[y_]:=Product[Prime[Count[y, x]]^x, {x, Union[y]}];
Select[Range[100], Count[hls/@IntegerPartitions[Total[prix[#]]], #]==1&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 02 2025
STATUS
approved
