Skip to main content
OlympiadHQ

Browse · MathNet

Print

XVI Junior Macedonian Mathematical Olympiad

North Macedonia number theory

Problem

Find all prime numbers of the form , where is a natural number.
Solution
We use the equality: . We get For , which is not a prime number. For , We will show that for , the number is composite. We consider two cases: being even and being odd.

Case 1. Let be even. Then gives residue 1 when divided by 9 and 11. Since we get that is divisible by 99 and the number is a product of two natural numbers bigger than 1.

Case 2. Let be odd. Then gives residue -1 when divided by 11. The number is divisible by 11, and is divisible by 9. The number is a product of two natural numbers bigger than 1 and hence it is composite.
Final answer
101

Techniques

Factorization techniquesGreatest common divisors (gcd)Chinese remainder theorem