Browse · MathNet
PrintNational Olympiad Final Round
Estonia number theory
Problem
In the mathematics circle, Juku raised a hypothesis that, for every integer , at least one out of the two largest integers that are less than is relatively prime to . Is Juku's hypothesis valid?
Solution
If is odd then the largest integer that is less than is . Let be a common divisor of numbers and . Then is a common divisor of numbers and , implying that . Hence and are relatively prime, meaning that the hypothesis holds in the case of odd numbers.
If is even then the two largest integers that are less than are and . Let be a common divisor of numbers and , and let be a common divisor of numbers and . Then is a common divisor of numbers and , and is a common divisor of numbers and . Hence divides 2, i.e., is either 1 or 2, and divides 4, i.e., is either 1 or 2 or 4. If and were both larger than 1, they both should be even, whence their multiples and should be even. This is impossible, since and are consecutive integers. The contradiction shows that at least one of the divisors and equals 1. Thus one of and is relatively prime to , meaning that the hypothesis holds in the case of even numbers, too.
If is even then the two largest integers that are less than are and . Let be a common divisor of numbers and , and let be a common divisor of numbers and . Then is a common divisor of numbers and , and is a common divisor of numbers and . Hence divides 2, i.e., is either 1 or 2, and divides 4, i.e., is either 1 or 2 or 4. If and were both larger than 1, they both should be even, whence their multiples and should be even. This is impossible, since and are consecutive integers. The contradiction shows that at least one of the divisors and equals 1. Thus one of and is relatively prime to , meaning that the hypothesis holds in the case of even numbers, too.
Techniques
Greatest common divisors (gcd)Integers