Let the given set be represented by,

where p is the prime under consideration.Those who are familiar with number theory will recognize that these

are what we call least residues modulo p.
For two arbitrary elements(i=m,n) we have

and

then

where

is the remainder when

is divided by

.(The division algorithm guarantees its existence)
If

then

can be considered the additive inverse of

.It can be easily proved that every

has an inverse

such that

.Hence, we can define subtraction just by replacing the "+" in the above equations by the "-" sign.(The given set forms a cyclic group under addition modulo p and hence the existence of an inverse is guaranteed)
We now need to define the multiplication operation for this set .Again,

and

Therefore,we have,

(where

is the remainder when

is divided by

)Note that

may be equal to

or

.
Unlike addition,every element will have a multiplicative inverse under this scheme only if "p" is prime!If we carefully examine the addition table for any value of "p" we will find that 0 appears in every row.Due to the commutativity of the addition operation every column will also have a 0 somewhere.Hence every element has an inverse.But the multiplication table won't contain 1(the multiplicative identity)in each row and column unless we choose p to be prime.In order to prove it we require the following lemma.
LEMMA.Given that

and

,if

is not equal to

then

is not equal to

(

is not zero )
PROOF:(BY CONTRAPOSITIVE-If

then

)
We have ,

and

Subtracting the congruences we have,

or

(an integer)
Since the numerator is relatively prime to the denominator

or


(because

is not zero)
QED
We disallowed

to be zero because under multipication the first row and the first column will only contain zeroes.(It signifies multiplication of an arbitrary element by zero)What this lemma tells us is that for every non-zero element,the product with two different elements would yield two different residues.This means that there will be 'p' different residues in each row.(including zero)Hence,the multiplicative identity '1' would be present in each row.In formal terms,the non-zero elements constitute a group under multiplication.Hence,a multiplicative inverse exists for every non-zero element.We can thus,define division as multiplying by an inverse analogous to subtraction satisfying the requirements of a field in the process.