Following on from Paddy's quest for assistance, I offer something less 'biological' 
So, um, can anyone answer these?
1. Let a and b be integers and m be a positive integer. Show that a = b (mod m) if and only if a mod m = b mod m.
2. Using the Euclidean Algorithm, find gcd(1529,14038). Show your working.
3. Find an inverse of 2 modulo 17. Use your answer to solve the linear congruence 2x = 7 (mod 17). Show your working in each case.
4. (a) The n x n matrix A is called a diagonal matrix is a`ij=0 for i/=j. Show that the product of two diagonal matrices is again a diagonal matrix. Simplify the algorithm for computing the product of two n x n matrices A and B for the special case that each of A and B is an n x n diagonal matrix.
(b) The n x n matrix A is called an upper triangular matrix if a`ij=0 for i>j. Show that the product of two n x n upper triangular matrix is again an upper triangular matrix. Simlpify the algorithm for computing the product of two n x n matrices A and B for the special case that each of A and B is an n x n upper triangular matrix.
Um, that will do for now
I've got the answer to 2 I believe, and I'm working in 4 at the moment (coz I'm good with a matrox, er matrix!
)
TIA,
Paul.
Ans 2:
gcd(1529,14038)
14038 = 1529 · 9 + 277
1529 = 277 · 5 + 144
277 = 144 · 1 + 133
144 = 133 · 1 + 11
gcd is therefore 1?

So, um, can anyone answer these?
1. Let a and b be integers and m be a positive integer. Show that a = b (mod m) if and only if a mod m = b mod m.
2. Using the Euclidean Algorithm, find gcd(1529,14038). Show your working.
3. Find an inverse of 2 modulo 17. Use your answer to solve the linear congruence 2x = 7 (mod 17). Show your working in each case.
4. (a) The n x n matrix A is called a diagonal matrix is a`ij=0 for i/=j. Show that the product of two diagonal matrices is again a diagonal matrix. Simplify the algorithm for computing the product of two n x n matrices A and B for the special case that each of A and B is an n x n diagonal matrix.
(b) The n x n matrix A is called an upper triangular matrix if a`ij=0 for i>j. Show that the product of two n x n upper triangular matrix is again an upper triangular matrix. Simlpify the algorithm for computing the product of two n x n matrices A and B for the special case that each of A and B is an n x n upper triangular matrix.
Um, that will do for now


TIA,
Paul.
Ans 2:
gcd(1529,14038)
14038 = 1529 · 9 + 277
1529 = 277 · 5 + 144
277 = 144 · 1 + 133
144 = 133 · 1 + 11
gcd is therefore 1?

Comment