Gapplet
Let Mr be the monoid of all maps {1,...,r} -> {1,...,r}. If you input a sequence of elements, the submonoid of Mr generated by the sequence is computed, as well as its invertible elements.
Input a sequence of elements of Mr, e.g., [1,6,2,3,5,4], [3,3,1,1,1,1] in case r = 6 |
|
The elements of the submonoid of
Mr generated by the input sequence,
and, if invertible, their inverses.
| |