A382774 Number of ways to permute the prime indices of n! so that the run-lengths are all different.
1, 1, 1, 0, 2, 0, 6, 0, 0, 0, 96, 0
Offset: 0
Examples
The prime indices of 24 are {1,1,1,2}, with permutations (1,1,1,2) and (2,1,1,1), so a(4) = 2.
Crossrefs
Programs
-
Mathematica
Table[Length[Select[Permutations[prix[n!]],UnsameQ@@Length/@Split[#]&]],{n,0,6}]
Formula
a(n) = A382771(n!).
Comments