Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
|
|
@ -1,4 +1,4 @@
|
|||
gap>perms := n -> List(SymmetricGroup(n), p -> List([1..n], x -> x^p));
|
||||
gap>List(SymmetricGroup(4), p -> Permuted([1 .. 4], p));
|
||||
perms(4);
|
||||
[ [ 1, 2, 3, 4 ], [ 4, 2, 3, 1 ], [ 2, 4, 3, 1 ], [ 3, 2, 4, 1 ], [ 1, 4, 3, 2 ], [ 4, 1, 3, 2 ], [ 2, 1, 3, 4 ],
|
||||
[ 3, 1, 4, 2 ], [ 1, 3, 4, 2 ], [ 4, 3, 1, 2 ], [ 2, 3, 1, 4 ], [ 3, 4, 1, 2 ], [ 1, 2, 4, 3 ], [ 4, 2, 1, 3 ],
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# All arrangements of 4 elements in 1..4
|
||||
Arrangements([1..4], 4);
|
||||
# All permutations of 1..4
|
||||
PermutationsList([1..4]);
|
||||
# All arrangements of 4 elements in 1 .. 4
|
||||
Arrangements([1 .. 4], 4);
|
||||
# All permutations of 1 .. 4
|
||||
PermutationsList([1 .. 4]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue