You are on page 1of 2

de

rale de Lausanne
Ecole Polytechnique Fe
partement de mathe
matiques
De
Prof. E. Bayer Fluckiger
Algebra for digital communications
Section de syst`emes de communication

winter semester 2004-2005

Solutions to exercise sheet 2

10.28.04

Exercise 1
(i) First of all, we need to compute the gcd of 59 and 36.
59 = 36 1 + 23
36 = 23 1 + 13
23 = 13 1 + 10

( 23 = 1 59
1 36 )
( 13 = 1 59 + 2 36 )
( 10 = 2 59
3 36 )

During the computation, we find that 10 = 2 59 3 36, so in order to get 10 cm3 of water,
we put in the big tank twice a full 59 cm3 s tank and then remove three times 36 cm3 of
water.
(ii) Computation of the gcd of 36 and 21.
36
21
15
6

=
=
=
=

21 1
15 1
62
32

+
+
+
+

15
6
3
0

( 15 = 1 36
1 21 )
( 6 = 1 36 + 2 21 )
( 3 = 3 36
5 21 )

Multiply the last equation by 3 to obtain :


9 = 9 36 15 21.
(iii) For each x, y Z, the number 36x + 21y is divisible by 3, so the equation 36x + 21y = 7
has no solution in Z.
(iv) Once again, we have to use Euclides algorithm.
89
24
17
7
3

=
=
=
=
=

24 3
17 1
72
32
13

+
+
+
+
+

17
7
3
1
0

(
(
(
(

17
7
3
1

Thus the inverse of 24 modulo 89 is 26.


Exercise 2
1. See the online course, chapter 2.
2. (125) = (53 ) = 4 52 = 100.
(63) = (7 32 ) = (7) (32 ) = 6 2 3 = 12.
Exercise 3
1. dK (eK (x)) = dK (x + K) = (x + K) K = x.

=
=
=
=

1 89
1 89
3 89
7 89

3 24
4 24
11 24
26 24

)
)
)
)

2. VKRIMHZKTIAR.
3. VERY GOOD JOB.
Challenge exercise 1
1. Since a is prime to 10, a is prime to 10n for each n > 1. For each n > 1, take a Bezout
relation
9| {z
9} = un a + vn 10n ,
n

with |vn | < a. Therefore, for some n and m, n > m, we will have that vn = vm . If we
multiply the equality 9| {z
9} = um a + vm 10m by 10nm , and substract it to the equality
m

9| {z
9} = un a + vn 10n , we get that
n

9| {z
9} = (un 10nm um )a,
nm

which is a multiple of a.
2. The proof is the same as above, except that you must replace each 9 by a digit 7.

You might also like