OFFSET
1,1
COMMENTS
EXAMPLE
The terms, prime indices, and corresponding multisets begin:
4: {1,1} {1,2}
8: {1,1,1} {1,2,3}
9: {2,2} {1,1,2,2}
12: {1,1,2} {1,1,2,3}
16: {1,1,1,1} {1,2,3,4}
18: {1,2,2} {1,1,2,2,3}
20: {1,1,3} {1,1,1,2,3}
24: {1,1,1,2} {1,1,2,3,4}
27: {2,2,2} {1,1,2,2,3,3}
28: {1,1,4} {1,1,1,1,2,3}
32: {1,1,1,1,1} {1,2,3,4,5}
36: {1,1,2,2} {1,1,2,2,3,4}
40: {1,1,1,3} {1,1,1,2,3,4}
44: {1,1,5} {1,1,1,1,1,2,3}
45: {2,2,3} {1,1,1,2,2,3,3}
48: {1,1,1,1,2} {1,1,2,3,4,5}
50: {1,3,3} {1,1,1,2,2,2,3}
52: {1,1,6} {1,1,1,1,1,1,2,3}
MATHEMATICA
nrmptn[n_]:=Join@@MapIndexed[Table[#2[[1]], {#1}]&, If[n==1, {}, Flatten[Cases[FactorInteger[n]//Reverse, {p_, k_} :> Table[PrimePi[p], {k}]]]]];
lasQ[y_]:=Select[Permutations[y], UnsameQ@@Length/@Split[#]&]!={};
Select[Range[100], Not@*lasQ@*nrmptn]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 12 2025
STATUS
approved
