MAT102 Tutorial W9B
- 1
- For any
where is prime, show that is prime so then for some - For any
consecutive numbers, you can say that divides at least one of them. As you go through mod, you can see how it works.
- but
because is odd
- For any
- Case
- If
then or so or so - So
is even for - Since
then - We know that
- We have
and - So if
is even, then is even and is odd and vice versa - So one of them is even
- We keep on factoring until we get
- If
- For any
- 2
- a
- Find the multiplicative inverse of
- We know that
is prime so clearly there is some multiplicative inverse: - Try solutions from
- This works
- So the multiplicative inverse is
- If there are a lot of potential solutions, then you need to use euclidean algorithm.
- Find the multiplicative inverse of
- b
- Find the integer
such that - Plug in solutions from
- So
- By part a),
- so
- So a solution is
- Find the integer
- c
- Solve the system
and - Find solutions for
- Sub in:
- By part b),
- Solve the system
- a
- Example:
- We can have any linear combination of the two congruencies
- 3
- 1
- Find
- Use FLT
is prime
- Find
- 2
- Find
is prime
- Find
- 1