Skip to main content
OlympiadHQ

Browse · MathNet

Print

2024 CGMO

China 2024 number theory

Problem

Find the smallest real number with the following property: For any positive integers , , where is not divisible by , there exists a positive integer such that where denotes the fractional part of .
Solution
Proof. The minimal is .

First, we show . Consider with . For , we have: thus cannot be smaller than .

Now we prove . Let be a positive integer and , positive integers with . We need to find satisfying the inequality.

Case 1: . Without loss of generality, take , . For :

Case 2: .

Subcase 2.1: . Let where . Then: Since , taking or gives:

Subcase 2.2: . Let be such that . Replacing with and with , we may assume and . Let .

When : Take :

When : Let be the smallest positive integer with . Then: Let where is integer and (since ). We have:

This implies:
Final answer
2/3

Techniques

Inverses mod nGreatest common divisors (gcd)Floors and ceilings