TomCyclic( n )
TomCyclic constructs the table of marks of the cyclic group of order
n. A cyclic group of order n has as its subgroups for each divisor
d of n a cyclic subgroup of order d. The record which is returned
has an additional component name where for each subgroup its order is
given as a string.
gap> c6 := TomCyclic( 6 );
rec(
name := [ "1", "2", "3", "6" ],
subs := [ [ 1 ], [ 1, 2 ], [ 1, 3 ], [ 1, 2, 3, 4 ] ],
marks := [ [ 6 ], [ 3, 3 ], [ 2, 2 ], [ 1, 1, 1, 1 ] ] )
gap> DisplayTom( c6 );
1: 6
2: 3 3
3: 2 . 2
4: 1 1 1 1
GAP 3.4.4