Understanding Cryptography by Christof Paar and Jan Pelzl - Chapter 1 Solutions - Ex1.7
- 3 mins- Return to index
- Exercise 1.1
- Exercise 1.2
- Exercise 1.3
- Exercise 1.4
- Exercise 1.5
- Exercise 1.6
- Exercise 1.7
- Exercise 1.8
- Exercise 1.9
- Exercise 1.10
- Exercise 1.11
- Exercise 1.12
- Exercise 1.13
- Exercise 1.14
Exercise 1.7
We consider the ring Z4. Construct a table which describes the addition of all elements in the ring with each other:
- Construct the multiplication table for \(\mathbb{Z}_4\).
- Construct the addition and multiplication tables for \(\mathbb{Z}_5\).
- Construct the addition and multiplication tables for \(\mathbb{Z}_6\).
- There are elements in Z4 and Z6 without a multiplicative inverse. Which elements are these? Why does a multiplicative inverse exist for all non-zero elements in \(\mathbb{Z}_5\)?
Solution
This solution is verified as correct by the official Solutions for Odd-Numbered Questions manual.
1. Multiplication table for \(\mathbb{Z}_4\):
2. Addition and Multiplication Tables for \(\mathbb{Z}_5\):
3. Addition and Multiplication Tables for \(\mathbb{Z}_6\):
4. To determine whether an element has a multiplicative inverse, we must check if it can be multiplied with another element to produce 1:
Elements without a multiplicative inverse in \(\mathbb{Z}_4\) are 2 and 0
Elements without a multiplicative inverse in \(\mathbb{Z}_6\) are 2, 3, 4 and 0
For all non-zero elements of \(\mathbb{Z}_5\), there exists a multiplicative inverse because 5 is a prime. Hence, all non-zero elements smaller than 5 are relatively prime to 5.