Chapter 1: Warm Up - Solution: 1 Powers of Base 2
Chapter 1: Warm Up - Solution: 1 Powers of Base 2
2020
September
1 Powers of base 2
Compute 20 + 21 + 22 + 23 .
20 + 21 + 22 + 23 = 1 + 2 + 4 + 8 = 15
Prove that 20 + 21 + ... + 2n−1 = 2n − 1.
AF F E16 = 10101111111111102
Compute 810 × 1101101001012 . State the result as a binary number.
1
810 = 2310 = 10002 .
Hence it is just a shift. 1101101001012 × 10002 = 1101101001010002
The biggest known prime number today is p = 282589933 − 1. How many
digits has p if expressed as a binary number.
4 Groups
Are the natural numbers N with the standard addition a group?
Are the integer numbers Z \{0} with the standard multiplication a group?
2
Group with set G = {0, 1}, where 0 is the neutral element. Hence
0+1=1+0 =1. The inverse element of 1 has to be 1 : 1 + 1 = 0.
Is there a group with only one element? If so, what element is generating
this group?
Yes, the group with the set G = {0} and 0 + 0 = 0. The generator is 0.
This is the trivial group.
Together with the addition they are. Adding even numbers the result is
always an even number.
Are the powers {2k |k ∈ Z} a group with the standard addition? How
about the multiplication?
Together with the addition they are not a group. There is no inverse. Note
that all elements of the set are positive! Together with the multiplication
they are a group! As 2a × 2b = 2(a+b) which is a power of 2. Inverse,
check! Neutral, check.
5 Modular arithmetic
We consider the field K = Z/7Z.
3
mod 7) = 4 × 2 × 2 mod 7 = 2 mod 7.
6 Elliptic curves
We consider the field K = Z/37Z.