A382914 Numbers k such that it is not possible to permute a multiset whose multiplicities are the prime indices of k so that the run-lengths are all equal.
10, 14, 22, 26, 28, 33, 34, 38, 39, 44, 46, 51, 52, 55, 57, 58, 62, 66, 68, 69, 74, 76, 78, 82, 85, 86, 87, 88, 92, 93, 94, 95, 102, 104, 106, 111, 114, 115, 116, 118, 119, 122, 123, 124, 129, 130, 134, 136, 138, 141, 142, 145, 146, 148, 152, 153, 155, 156
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 10: {1,3} 14: {1,4} 22: {1,5} 26: {1,6} 28: {1,1,4} 33: {2,5} 34: {1,7} 38: {1,8} 39: {2,6} 44: {1,1,5} 46: {1,9} 51: {2,7} 52: {1,1,6} 55: {3,5} 57: {2,8} 58: {1,10} 62: {1,11} 66: {1,2,5}
Crossrefs
A003963 gives product of prime indices.
Programs
-
Mathematica
nrmptn[n_]:=Join@@MapIndexed[Table[#2[[1]],{#1}]&,If[n==1,{},Flatten[Cases[FactorInteger[n]//Reverse,{p_,k_}:>Table[PrimePi[p],{k}]]]]]; Select[Range[100],Select[Permutations[nrmptn[#]],SameQ@@Length/@Split[#]&]=={}&]
Comments