For simplicity, let's write
for
with
.
Let's be casual about omitting brackets, writing
instead of
. Also,
will always refer to a prime.
(a) For
, if
with
then
, so
is invertible (i.e.,
is a unit).
(b) For
, the list of powers
must start cycling at some point:
Example: For
the list of powers is
and the order of 3 is 4.
Example: In a finite field, every nonzero element is a unit and so has an order.
Example: For
, the list of powers is
.
(c) If is a unit in
, with order
, then
the powers equal to 1 are precisely
.
In other words,
.
(d) (i) If is prime and
is a nonzero element of
,
then Fermat's Little Theorem says
. Therefore the order
of
divides
.
(ii) More generally, for any , if
is a unit of
,
then Euler's Theorem says
. Therefore the order
of
divides
.
(iii) Even more generally, if is any commutative finite ring and
is a unit of
, then the order of
divides the number of units
in
.
Example: In a finite field with elements, the order of each
nonzero element divides
. (As you know,
has to be a
prime power.)
(iv) Still more generally, if is any finite group, abelian
(commutative) or not, then the order of each element divides the
size of the group1.
(e) If has order
and if
and
are coprime,
then
also has order
.
More generally, if has order
then for any
,
has order
.
Example: In
,
has order
. Then
has
order 5, and so do
,
, and
, since all these exponents
have 2 as their
gcd with 10.
(f) (i) The units of a given finite ring might have a
generator or primitive element, meaning an element for
which the powers
are all the units. An
equivalent statement is that the order of
is the same as
the number of units.
Example: The units of
are
, with generator
.
The units of
are
; there is no generator
since each of these elements has square = 1.
(ii) In a finite field, where all nonzero elements are units, there
is always a generator. In fact, there are generators of
for
prime.
(g) (i) In a commutative ring, if and
are units and
has order
and
has order
, where
and
are coprime, then
has order
.
(ii) If a commutative ring has a unit
of
order
and a unit
of order
, then
has a
unit of order
where
lcm
.
Note: This element is not necessarily , since for example
if
then
and
have the same order
and
lcm
, but
, which is an element of order 1.
(h) If and
are coprime, then the order of an element
of
is the lcm of the orders of the images of
in
and
.
In other words, if
under
the isomophism of
with
according
to the Chinese Remainder Theorem, then the order of
is the
lcm of the orders of
and
.