Let be a natural number such that , , and are prime numbers, and , , and are also prime numbers. Find the remainder of divided by 210.
Estonian Math Competitions
Solution
Consider the remainders of when divided by 2, 3, 5, and 7. In the following tables the left column shows the remainder and the right column shows, which of the given eight numbers cannot be prime, if :
| n mod 2 | divisible by 2 | n mod 3 | divisible by 3 |
|---|---|---|---|
| 1 | 0 | ||
| 2 |
| n mod 5 | divisible by 5 | n mod 7 | divisible by 7 |
|---|---|---|---|
| 1 | 0 | ||
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | |||
| 6 |
Thus if then the remainder of when divided by 2 and 5 is 0 and when divided by 3 and 7 is 1; hence is a multiple of 3 and 7. Consequently is a multiple of 10 and is a multiple of 21. This implies that is a multiple of 21 and a multiple of 10, hence a multiple of 210. Consequently the remainder of when divided by 210 is 190. The numbers do not satisfy the conditions of the problem.
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.