Next: Finite groups using MAGMA
Up: Finite groups using GAP
Previous: Permutation groups
  Contents
  Index
GAP project: Why Steinhaus' algorithm works
The argument is by mathematical induction.
- First, note that Steinhaus' algortithm works for
.
- Write down all the elements of
as a list
using Steinhaus' algorithm (the induction hypthesis
the each differs by a suitable transposition is assumed
for this list). We represent each element in the
array notation. In our list, we simply record
the
row in the list. ie, as an
-tuple.
There are
elements in this list.
- For the
-tuple, write an
at the end,
for the
-tuple, write an
at the beginning,
for the
-tuple, write an
at the end,
for the
-tuple, write an n at the beginning,
and so on. Note we have a sequence of
-tuples.
- Suppose the
-tuple is
.
First, act on this by the transposition
,
then by the transposition
, then by
, ...,
by
. The result of the last one is
.
Suppose the
-tuple is
.
(Note that by the induction hypothesis,
and
``differ'' only by a suitable transposition,
in
.) First, act on this by the transposition
,then by the transposition
, then by
, ..., by
.
The result of the last one is
.
- Note that all these (for
ranging over even or
odd integers from
to
), the resulting
-tuples are
distinct. This yields a listing of
as desired.
Exercise 5.19.16
Program this algorithm in GAP.
Next: Finite groups using MAGMA
Up: Finite groups using GAP
Previous: Permutation groups
  Contents
  Index
David Joyner
2002-08-23