All Questions
Tagged with permutation filtering
7
questions
3
votes
2
answers
178
views
Select a subset in the bit-strings with even 1s overlapped - thank you
Model 1
Consider the permutation list of 4-bit-strings:
list = Permutations[{0, 0, 1, 1}, {4}]
which outputs:
{{0, 0, 1, 1}, {0, 1, 0, 1}, {0, 1, 1, 0}, {1, 0, 0, ...
2
votes
2
answers
136
views
Generating a list of tuples that meet certain criteria without running out of memory
I would like to generate tuples of length 21 with possible elements 1, 2, and 3. I would also like there to be an equal number of 1's, 2's, and 3's, and I want to control for how many times one ...
6
votes
2
answers
303
views
Find permutation with highest organization number (OEIS A047838)
EDIT: It turns out I misunderstood the definition of "organization number", so the below is incorrect.
However, for every permutation I create with my definition of "organization number", I can show ...
0
votes
2
answers
177
views
2
votes
1
answer
182
views
Sorting of permutations
I would like to output the list of possible permutations of 4 indices but sorted in a certain way. I know that I can the list of possible permutations with
...
3
votes
2
answers
293
views
How can I filter a permutation list depending of a pattern? [closed]
I've created a permutation list
Grid[Permutations[{a, e, q, r, t, u}], Frame -> All]
and only want to see rows where the 5th element is a "t". I tried to do ...
3
votes
0
answers
255
views
How to sequentially select, from a large set of tuples (of matrices), those with a certain property [closed]
I'm interested in finding a computationally efficient way for selecting all tuples of matrices which have a certain property.
The property I'm interested in is that I want the column sum, of f[the ...