Modulo Arithmetic Zn.

Zn is the set of remainders after division by n.

For example, Z3 = {0, 1, 2}, Z4 = {0, 1, 2, 3}, Z5 = {0, 1, 2, 3, 4}etc.

Elements of e.g. Z4 = {0, 1, 2, 3} can be added or multiplied. The results of, say, addition, are best set out in what is called a Cayley table.

Note that 3 + 3 = 2 since 2 is the remainder after division by 4.

Z4 = {0, 1, 2, 3} forms a group under addition.

However, Z4 = {0, 1, 2, 3}does not form a group under multiplication.
Associativity and closure work out fine. The identity is 1.
But 0 does not have an inverse. (Try it! Zero times what gives 1?.)
This failure prevents Z4 from being a group under multiplication.

EXAMPLE

Assuming that the multiplication of integers, mod 8, is associative, show that the set
A = {1, 3, 5, 7}, mod 8
is a group under multiplication. (LCHM 1986 I 8a )

SOLUTION

Thus A = {1, 3, 5, 7}, mod 8 is a group under multiplication.