All Questions
Tagged with permutation combinatorica
3
questions
0
votes
1
answer
94
views
Optimisation Problem over binomial coefficients
I have 4 variables.
$A= l{nq\choose l} {n(1-q)\choose n(1-q)-np+l}$
$B=(np-l){nq\choose l} {n(1-q)\choose n(1-q)-np+l}$
$C=(nq-l){nq\choose l} {n(1-q)\choose n(1-q)-np+l}$
$D=(n(1-q)-np+l){nq\choose l}...
5
votes
1
answer
101
views
What does the Combinatorica function: NumberOfPermutationsByType return?
I am using Mathematica 9.
If I input:
NumberOfPermutationsByType[{2, 2, 1, 1}]
Mathematica returns 1/8.
I was expecting <...
3
votes
3
answers
199
views
Seeking a way to generate sequential partitions of a list using built in or Combinatorica functions [duplicate]
This code generates all "sequential partitions" of a list:
...