Skip to main content

Questions tagged [permutation]

For questions about the functionality related to permutations in Mathematica.

1 vote
1 answer
68 views

Is there a Mathematica function that computes the closure of a finite set of permutations under composition (where the permutations have equal size and are displayed in standard row notation)?
ExpressionCoder's user avatar
3 votes
5 answers
348 views

For each permutation: find the positions of elements that are changed by the permutation, i.e. each position i that is mapped to a different value sigma(i) than itself. The permutation {2, 1, 3, 4} ...
ExpressionCoder's user avatar
1 vote
1 answer
129 views

This question relates to the recent question in: Creating permutations on a sublist of the list {1, 2, ..., n} The following was suggested to create rules, then permutations using these rules: ...
ExpressionCoder's user avatar
1 vote
3 answers
283 views

Consider a list {1,2,3,4,5,6,7} I need to create a list of lists consisting of permutations of the given list The permutations are determined by selecting a sublist ...
ExpressionCoder's user avatar
3 votes
2 answers
215 views

I am having a lot of issues trying to import data into mathematica and then clean the data so that mathematica recognises it. The data is a set of permutations, which I would like to express as ...
am567's user avatar
  • 997
3 votes
3 answers
134 views

A permutation matrix is a $0-1$ matrix with exactly one $1$ in each row and in each column. Each $n \times n$ permutation matrix corresponds to exactly one permutation of $[n]$. Each integer ...
geoffrey's user avatar
  • 1,067
0 votes
1 answer
114 views

How can I list all the permutations for each $n$ of the Hertzsprung's problem?
user967210's user avatar
3 votes
1 answer
235 views

The question for all Latin squares was answered here for sizes up to 5 Finding all Latin Squares of order 5. However, there are 161280 Latin squares for N=5 and only 56 reduced Latin squares. The ...
VladM's user avatar
  • 305
1 vote
1 answer
123 views

At least for the symmetric group $\Sigma_4$ (I did not check the others), it seems to me that conjugacy classes do not appear in the same order in ...
Najib Idrissi's user avatar
5 votes
6 answers
762 views

Determine the number of six-digit numbers that can be formed using the digits 1, 2, 3, 4, 5, 6 without repetition, where no two odd digits are adjacent and the digit 4 does not occupy the fourth ...
user avatar
4 votes
2 answers
270 views

Here is a challenge for you. I have an expression that has an arbitrary number of terms that look like ...
Ben's user avatar
  • 355
6 votes
1 answer
242 views

I am looking for a way to decide whether two sets of permutations are isomorphic to each other. For example, $$permlist=((1,2,3,4,5),(1,2,3,5,4),(2,3,1,5,4)).$$ $$permlist2=((4,5,3,1,2),(4,5,3,2,1),(4,...
am567's user avatar
  • 997
3 votes
1 answer
129 views

I want to sort the arguments of a function f while multiplying with the signature of the permutation, i.e. f is totally antisymmetric function. My idea was something like ...
jkb1603's user avatar
  • 259
1 vote
1 answer
140 views

I've written a routine to extract permutation cycles from a (n,2) matrix, each row giving the format $a\to b$ which represents the first two elements in some $k$ cycle. If $a\to a$, it's a $1$-cycle. ...
josh's user avatar
  • 2,749
5 votes
1 answer
235 views

Suppose you what to find a permutation of integers {1, 2, ..., 13} that satisfy some rules. Rules can be found in variable rules....
azerbajdzan's user avatar
  • 38.5k

15 30 50 per page
1
2 3 4 5
19