A382772 Set of positions of first appearances in A382771 (permutations of prime indices with distinct run-lengths).
1, 6, 12, 96, 360, 1536, 3456, 5184, 5760, 6144, 7776, 13824, 23040, 24576, 55296, 62208, 92160
Offset: 1
Examples
The permutations for n = 12, 96, 360, 1536: (1,1,2) (1,1,1,1,1,2) (1,1,1,2,2,3) (1,1,1,1,1,1,1,1,1,2) (2,1,1) (1,1,1,2,1,1) (1,1,1,3,2,2) (1,1,1,1,1,1,1,2,1,1) (1,1,2,1,1,1) (2,2,1,1,1,3) (1,1,1,1,1,1,2,1,1,1) (2,1,1,1,1,1) (2,2,3,1,1,1) (1,1,1,1,1,2,1,1,1,1) (3,1,1,1,2,2) (1,1,1,1,2,1,1,1,1,1) (3,2,2,1,1,1) (1,1,1,2,1,1,1,1,1,1) (1,1,2,1,1,1,1,1,1,1) (2,1,1,1,1,1,1,1,1,1)
Crossrefs
Programs
-
Mathematica
y=Table[Length[Select[Permutations[Join@@ConstantArray@@@FactorInteger[n]],UnsameQ@@Length/@Split[#]&]],{n,0,100000}]; fip[y_]:=Select[Range[Length[y]],!MemberQ[Take[y,#-1],y[[#]]]&]; fip[Rest[y]]