# group_elements function

The elements of a group, as permutations in cycle notation.

## How to write it

### group_elements(group)

**group**

A group, such as cyclic_group(3). Takes an expression.

## Examples

- $\displaystyle \operatorname{group\_elements}(\operatorname{cyclic\_group}(3)) = \left[ \left[ \right], \begin{pmatrix} 1 & 2 & 3 \end{pmatrix}, \begin{pmatrix} 1 & 3 & 2 \end{pmatrix} \right]$

  `group_elements(cyclic_group(3))`

  In the solver, `group_elements(cyclic_group(3))` gives `[[], [[1, 2, 3]], [[1, 3, 2]]]`.

  [Open in the solver](https://hilberon.com/?q=group_elements%28cyclic_group%283%29%29)

## Related functions

- [group_order](https://hilberon.com/library/group_order)

  How many elements a group has.
- [field_inverse](https://hilberon.com/library/field_inverse)

  The inverse of an element of a finite field.
- [is_irreducible](https://hilberon.com/library/is_irreducible)

  Test whether a polynomial cannot be factored, over the rationals or modulo a prime.
- [field_add](https://hilberon.com/library/field_add)

  Sum of two elements of a finite field.
- [permutation_inverse](https://hilberon.com/library/permutation_inverse)

  The inverse of a permutation.
- [quaternion_norm](https://hilberon.com/library/quaternion_norm)

  The norm of a quaternion.

---
Source: https://hilberon.com/library/group_elements
