group_order function
How many elements a group has.
How to write it
group_order(group)
- group
- A group, such as symmetric_group(3). Takes an expression.
Examples
group_order(symmetric_group(3))In the solver,
Open in the solvergroup_order(symmetric_group(3))gives6.group_order(cyclic_group(6))In the solver,
Open in the solvergroup_order(cyclic_group(6))gives6.
Related functions
- group_elements
The elements of a group, as permutations in cycle notation.
- permutation_order
The order of a permutation: the least power that is the identity.
- is_irreducible
Test whether a polynomial cannot be factored, over the rationals or modulo a prime.
- permutation_inverse
The inverse of a permutation.
- field_inverse
The inverse of an element of a finite field.
- field_add
Sum of two elements of a finite field.