Example. Addition and multiplication in \mathbb {Z}_5 [01D5]

The addition and multiplication tables for the integers modulo 5 are as follows:

+_5 0 1 2 3 4
0 0 1 2 3 4
1 1 2 3 4 0
2 2 3 4 0 1
3 3 4 0 1 2
4 4 0 1 2 3
\cdot _5 0 1 2 3 4
0 0 0 0 0 0
1 0 1 2 3 4
2 0 2 4 1 3
3 0 3 1 4 2
4 0 4 3 2 1

From the addition and multiplication tables, we can readily read a table of additive and multiplicative inverses:

additive inverse multiplicative inverse
0 0 none
1 4 1
2 3 3
3 2 2
4 1 4