All Questions
Tagged with permutation tuples
4
questions
3
votes
4
answers
250
views
Working with tables: add new level of nested tables
I am trying to obtain all possible combinations of elements in a (long) list
factors = {A, B, C};
getCombinations[factors,n]
For n = 3 factors, it should give
<...
5
votes
1
answer
491
views
Generating a list of integers that sums to zero
Given a pair of integers n and k, I want to generate all lists of integers of length n, ...
4
votes
3
answers
554
views
How do I get a list of all possible sums in a list nested list?
Lets say I have the following input:
rn={
{1, 1.1, 1.5},
{5, 6, 6.1, 7},
{8, 8, 12, 12, 12.5, 13}
}
This input has the dimensions of ...
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 ...