Let n be a prime number
Z is set of Integer and Zn indicate equvalence class for n
[
for example, if n=3, Z={[0], [1], [2]}.
Because 1mod3 2mod3 3mod3 4mod3 .... = 0 1 2 0 1 2 ......
]
Show that m inverse always exist which satisfy m inverse * m=[1] in Zn
[
for example if m=10 and n=7, m inverse is 5 because
10*5mod7=1
]