Z over nZ - The Integers Modulo n

Let n be a fixed positive integer. Define a relation on Z by:

abn|(ba)

clearly aa,abba so the relation is trivially reflexive and symmetric. Further work shows it's transitive too, so then is an equivalence relation, so we can write:

abab(modn)

For any kZ we'll denote the equivalence class of a as a, named the congruence/residue class of a. It consists of the integers from a that by an integral multiple of n (using the relation above), ie:

a={a+kn|kZ}={a,a±n,a±2n,}

There are precisely n distinct equivalence classes modn, namely:

0,1,,n1

determined by the possible remainders after division by n.

ZnZ

The groups ZnZ are the sets of equivalence classes 0,1,,n1 such that each one describes the integers with remainder of the equivalence class.

Z6Z

There are 6 possible remainders here:

0,1,2,3,4,5

Where, for example, 2={,10,4,2,8,}.

A cool thing here is that any element of the equivalence class can represent it. Namely:

=4=0=6=12=

Some Properties

Z6Z

Here:

2=2=411=155=25=1

Notice that 1,5 are the only elements with other.

Permutation Group

Consider the Permuation Group. Any finite set X will have perumations:

permuation

A permutation of X is a bijection σ:XX. It's essentially a shuffling of the elements in X.

X={1,2,3,4,5}

Count the number of bijections σ:XX. Using principles of proofs, this is the number of injections σ:XX (since X is finite). Once we know where 1 goes we have 5 options, then for 2 we have 4 options, ... so then we have 54321=5!=120 possibilities.

There are some notational options here (which is where the old-timey modulo notation comes into play):

  1. (Functional Notation:) one permuation is: σ(1)=2,σ(2)=3,σ(3)=5,σ(4)=1,σ(5)=4. This is obviously super slow so we don't want to do this one.
  2. (Modified Functional Notation:) write it instead with : 12,23,.
  3. (Use A Table:) write where the top row maps to the bottom row:
(1234523514)
  1. ("Cycle Notation":) write out a visual graph of what number maps to where:

We write this as:

σ=(12354)

Another example would be:

τ=(135)(24)

Creates the following:

Here τ has a 3-cycle and a 2-cycle (or a transposition). This τ is a product of disjoint cycles. Notice that since we have a cycle where n3 then the group isn't abelian with operation τ.