MAT102 Tutorial W9B
102_F2025_Tutorial8.pdf
- 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
- 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
- 2
- a
- Find the multiplicative inverse of
- We know that is prime so clearly there is some multiplicative inverse:
- Try solutions from
-
- So the multiplicative inverse is
- If there are a lot of potential solutions, then you need to use euclidean algorithm.
- b
- Find the integer such that
- Plug in solutions from
- So
- By part a),
- so
- So a solution is
- c
- Solve the system and
- Find solutions for
-
-
- Sub in:
- By part b),
- Example:
- We can have any linear combination of the two congruencies
- 3
- 1
- Find
- Use FLT
- is prime
- 2
- Find
- is prime
-