---
title: "Order Functions"
canonical: "https://docs.magma-maths.org/v2.30-1/FiniteGroups/AutomorphismGroups/order.html"
source: "https://docs.magma-maths.org/v2.30-1/FiniteGroups/AutomorphismGroups/order.md"
part: "Finite Groups"
chapter: "Automorphism Groups"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Finite Groups", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/index-finite-groups.md"}
  - {"title": "Automorphism Groups", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/AutomorphismGroups/index-automorphism-groups.md"}
prev: {"title": "Access Functions", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/AutomorphismGroups/access.md"}
next: {"title": "Representations of an Automorphism Group", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/AutomorphismGroups/representations.md"}
intrinsics:
  - {"name": "Order", "signature": "Order(A): GrpAuto -> RngIntElt"}
  - {"name": "#", "signature": "# A: GrpAuto -> RngIntElt"}
  - {"name": "FactoredOrder", "signature": "FactoredOrder(A): GrpAuto -> [ <RngIntElt, RngIntElt> ]"}
  - {"name": "OuterOrder", "signature": "OuterOrder(A): GrpAuto -> RngIntElt"}
examples:
  - "ex-829895"
---

# Order Functions

Unless the order is already known, each of the functions in this family will create a faithful permutation representation of the group of automorphisms in order to compute the order.

<a id="function-order-grpauto"></a>
## `Order(A): GrpAuto -> RngIntElt`

<a id="operation-operation-grpauto-rngintelt"></a>
## `# A: GrpAuto -> RngIntElt`

The order of the group of automorphisms $A$, returned as an integer. If not already known, this function will create a permutation representation for $A$.

<a id="function-factoredorder-grpauto"></a>
## `FactoredOrder(A): GrpAuto -> [ <RngIntElt, RngIntElt> ]`

The factored order of the group of automorphisms $A$. If not already known, this function will create a permutation representation for $A$.

<a id="function-outerorder-grpauto"></a>
## `OuterOrder(A): GrpAuto -> RngIntElt`

The order of the outer automorphism group associated with the group of automorphisms $A$.

<a id="example-ex-829895"></a>
## `Example: Automorphism Group of PGL(2, 9) (ex-829895)`

We create the non-soluble group $G = PGL(2, 9)$ and examine the properties of its automorphism group.

```magma
> G := PGL(2, 9);
> A := AutomorphismGroup(G);
> A;
A group of automorphisms of GrpPerm: G, Degree 10, Order 2^4 * 3^2 * 5
Generators:
    Automorphism of GrpPerm: G, Degree 10, Order 2^4 * 3^2 * 5 which maps:
        (3, 5, 9, 6, 7, 4, 8, 10) |--> (1, 7, 3, 5, 4, 2, 10, 9)
        (1, 8, 2)(3, 4, 5)(6, 10, 7) |--> (1, 6, 8)(2, 7, 10)(3, 9, 5)
    Automorphism of GrpPerm: G, Degree 10, Order 2^4 * 3^2 * 5 which maps:
        (3, 5, 9, 6, 7, 4, 8, 10) |--> (1, 4, 6, 10, 7, 8, 5, 9)
        (1, 8, 2)(3, 4, 5)(6, 10, 7) |--> (1, 9, 10)(2, 6, 3)(4, 8, 7)
    Automorphism of GrpPerm: G, Degree 10, Order 2^4 * 3^2 * 5 which maps:
        (3, 5, 9, 6, 7, 4, 8, 10) |--> (3, 5, 9, 6, 7, 4, 8, 10)
        (1, 8, 2)(3, 4, 5)(6, 10, 7) |--> (1, 10, 2)(3, 4, 7)(5, 8, 9)
    Automorphism of GrpPerm: G, Degree 10, Order 2^4 * 3^2 * 5 which maps:
        (3, 5, 9, 6, 7, 4, 8, 10) |--> (1, 10, 3, 5, 2, 4, 7, 6)
        (1, 8, 2)(3, 4, 5)(6, 10, 7) |--> (1, 6, 2)(3, 7, 5)(4, 9, 8)
> #A;
1440
> FactoredOrder(A);
[ <2, 5>, <3, 2>, <5, 1> ]
> OuterOrder(A);
2
> InnerGenerators(A);
[
    Automorphism of GrpPerm: G, Degree 10, Order 2^4 * 3^2 * 5 which maps:
        (3, 5, 9, 6, 7, 4, 8, 10) |--> (1, 7, 3, 5, 4, 2, 10, 9)
        (1, 8, 2)(3, 4, 5)(6, 10, 7) |--> (1, 6, 8)(2, 7, 10)(3, 9, 5),
    Automorphism of GrpPerm: G, Degree 10, Order 2^4 * 3^2 * 5 which maps:
        (3, 5, 9, 6, 7, 4, 8, 10) |--> (1, 4, 6, 10, 7, 8, 5, 9)
        (1, 8, 2)(3, 4, 5)(6, 10, 7) |--> (1, 9, 10)(2, 6, 3)(4, 8, 7),
    Automorphism of GrpPerm: G, Degree 10, Order 2^4 * 3^2 * 5 which maps:
        (3, 5, 9, 6, 7, 4, 8, 10) |--> (3, 5, 9, 6, 7, 4, 8, 10)
        (1, 8, 2)(3, 4, 5)(6, 10, 7) |--> (1, 10, 2)(3, 4, 7)(5, 8, 9)
]
> CharacteristicSeries(A);
[
    Permutation group G acting on a set of cardinality 10
    Order = 720 = 2^4 * 3^2 * 5
        (3, 5, 9, 6, 7, 4, 8, 10)
        (1, 8, 2)(3, 4, 5)(6, 10, 7),
    Permutation group acting on a set of cardinality 10
    Order = 1
]
```
