Documente Academic
Documente Profesional
Documente Cultură
2. What is the units digit (also known as the ones digit) of 6789 ?
Answer: 6
Work: We are looking for an integer x such that x ≡ 6789 (mod 10) where 0 ≤ x < 10.
Note that, for all n,
6n ≡ 6 (mod 10)
(We could prove this by induction relying on 62 = 36 ≡ 6 (mod 10).)
Alternatively, using CRT,
6789 ≡ 0 (mod 2)
789
6 ≡1 (mod 5)
4. You are eavesdropping on a conversation between Alice and Bob protected by the RSA system. Alice
sends Bob a public encryption key (e, n) and receives a ciphertext C. You are able to determine that
88 < n < 92 and 26 < e < 30. What are the values of n and e?
Answer: (e, n) = (29, 91)
Work: Here n must be the product of two distinct primes. The only possibility is
n = 13 · 7 = 91.
e = 29.
5. Determine all integers x and y such that
−1 + 5n ≡ 3 (mod 7).
Alternatively, one could start with x = 7k + 3 and solve the LDE 42k + 10y = −4.
6. Consider the polynomial p(x) = x5 + 2x4 + 6x3 + 12x2 − 27x − 54. One root of this polynomial is 3i.
Express p(x) as a product of five linear polynomials in C[x].
√ √
Answer: p(x) = (x − 3i)(x + 3i)(x + 2)(x − 3)(x + 3)
Work: Since p(x) has real coefficients, CJRT tells us that −3i is also a root of p(x). Therefore
q(x) = x3 + 2x2 − 3x − 6.
From RRT, any rational root of q(x) will have the form ab , where a | 6 and b | 1. The possibilities are
Testing these values in q(x) we discover that x = −2 is the only rational root. So
q1 (x) = x2 − 3.
Solution:
9. Prove that if w is an nth root of unity, then w1 is also an nth root of unity.
(Recall: The nth roots of unity are the nth roots of 1.)
Solution: By definition, we have that wn = 1. Conjugating on both sides and using PCJ, we obtain
wn = w n = 1. Thus w n 6= 0. Dividing both sides by w n , we get
n
1 1
1= n = .
w w
Alternate solution:
(az + b)(cz + d)
f (z) =
(cz + d)(cz + d)
(az + b)(cz + d)
=
|cz + d|2
ac|z|2 + bd + adz + bcz
=
|cz + d|2
ac|z|2 + bd + ad Re(z) + bc Re(z) + ad Im(z) + bc Im(z) i
= .
|cz + d|2
Since Im(z) > 0, it follows that z 6= 0. From ad − bc = 1, we have that c and d are not both zero. It
follows that cz + d 6= 0 so that |cz + d|2 > 0. Thus
Base case: When n = 1, the LHS is (1 + x)2 which equals 1 + 2x + x2 which is 1 + x2 because we are
working over Z2 . The RHS is also 1 + x2 . So P (1) is true.
m+1
!2 m
!2
X X
k
x = ( xk ) + xm+1
k=0 k=0
m
!2 m
!
X X
k k
= x +2 x xm+1 + x2m+2
k=0 k=0
m
!
X
= x2k + x2m+2 by the Inductive Hypothesis and PC
k=0
m+1
X
= x2k
k=0