Skip to main content
OlympiadHQ

Browse · MathNet

Print

Ireland_2017

Ireland 2017 number theory

Problem

Does there exist an even positive integer for which is divisible by 5 and the two numbers and are co-prime?
Solution
Because , we have . From , and Fermat's Little Theorem we see that iff is divisible by 4. Hence, when and , the two numbers and are both divisible by 5. They can only be co-prime for . Suppose , then and this number is divisible by 5 exactly when . Such can be written as and so . This means that the smallest candidates for for which and could be co-prime, are . Next we observe that for all even numbers . Hence, whenever is divisible by 3, the two numbers and are both divisible by 3. This rules out . Consider , then . As we have seen above, and so which means that 5 does not divide . Similarly, we have and so , which shows that 7 does not divide . Hence, and is the smallest positive even integer for which is divisible by 5 and for which and are co-prime.
Final answer
34

Techniques

Greatest common divisors (gcd)Fermat / Euler / Wilson theorems