Skip to main content

All Questions

Tagged with
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 ...
kangaroo's user avatar
2 votes
0 answers
60 views

How to iterate over Orbit of PermutationGroup?

Another day, another permutation group question. I'm given a g=PermutationGroup[...], and a list l={1, 3, 3, 2, ...}. I know I ...
J Bausch's user avatar
  • 151
7 votes
1 answer
176 views

A few tuples at a time?

I want to generate $n$ by $n$ binary arrays, and then reduce the output from those arrays by performing a number of permutations and eliminating duplicates. The problem is that the number of arrays ...
dpholmes's user avatar
  • 683
0 votes
2 answers
241 views

Want to compute the permutations of {1, 2, ..., 11} with only 3 GB of memory [duplicate]

There is another way to calculate Permutations [{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}] without triggering an error, I have 3 GB of RAM with WIN 7 Edit: This ...
juan muñoz's user avatar