OFFSET
1,2
COMMENTS
EXAMPLE
The prime indices of 144 are {1,1,1,1,2,2}, of which the only permutation with all equal run-lengths is (1,1,2,2,1,1), so 144 is in the sequence.
The terms together with their prime indices begin:
1: {}
2: {1}
3: {2}
4: {1,1}
5: {3}
7: {4}
8: {1,1,1}
9: {2,2}
11: {5}
12: {1,1,2}
13: {6}
16: {1,1,1,1}
17: {7}
18: {1,2,2}
19: {8}
20: {1,1,3}
23: {9}
25: {3,3}
27: {2,2,2}
28: {1,1,4}
29: {10}
31: {11}
32: {1,1,1,1,1}
MATHEMATICA
Select[Range[100], Length[Select[Permutations[Join @@ ConstantArray@@@FactorInteger[#]], SameQ@@Length/@Split[#]&]]==1&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 18 2025
STATUS
approved
