Olympiad Maths Prep

Track / Stage 6 / 376 of 400 #1376 of 2000

Problem 1376

National olympiad, first round
Number theory Difficulty 6.9 Find the answer

Find a irreducible fraction with denominator not greater than 2005, that is closest to 925\frac{9}{25} but is not 925\frac{9}{25}

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

To find an irreducible fraction with a denominator not greater than 2005 that is closest to 925\frac{9}{25} but is not 925\frac{9}{25}, we can use the following steps:

1. **Express the difference between 925\frac{9}{25} and another fraction pq\frac{p}{q}:**
925pq=9q25p25q \left|\frac{9}{25} - \frac{p}{q}\right| = \left|\frac{9q - 25p}{25q}\right|
We want to minimize this difference.

2. Consider the case where the absolute difference is 1:
9q25p=1 |9q - 25p| = 1
This can be split into two cases:
- 9q25p=19q - 25p = 1
- 9q25p=19q - 25p = -1

3. **Solve the Diophantine equation 9q25p=19q - 25p = 1:**
- We can find a particular solution to this equation using the Extended Euclidean Algorithm. One particular solution is (p,q)=(5,14)(p, q) = (5, 14).
- The general solution to the equation 9q25p=19q - 25p = 1 is given by:
p=5+25k,q=14+9k p = 5 + 25k, \quad q = 14 + 9k
- We need to find the largest integer kk such that q2005q \leq 2005:
14+9k2005    9k1991    k19919    k221 14 + 9k \leq 2005 \implies 9k \leq 1991 \implies k \leq \frac{1991}{9} \implies k \leq 221
- The largest integer kk is 221. Substituting k=221k = 221 into the general solution:
p=5+25221=5+5525=5530 p = 5 + 25 \cdot 221 = 5 + 5525 = 5530
q=14+9221=14+1989=2003 q = 14 + 9 \cdot 221 = 14 + 1989 = 2003
- Thus, one possible fraction is:
55302003 \frac{5530}{2003}

4. **Solve the Diophantine equation 9q25p=19q - 25p = -1:**
- We can find a particular solution to this equation using the Extended Euclidean Algorithm. One particular solution is (p,q)=(4,11)(p, q) = (4, 11).
- The general solution to the equation 9q25p=19q - 25p = -1 is given by:
p=4+25k,q=11+9k p = 4 + 25k, \quad q = 11 + 9k
- We need to find the largest integer kk such that q2005q \leq 2005:
11+9k2005    9k1994    k19949    k221 11 + 9k \leq 2005 \implies 9k \leq 1994 \implies k \leq \frac{1994}{9} \implies k \leq 221
- The largest integer kk is 221. Substituting k=221k = 221 into the general solution:
p=4+25221=4+5525=5529 p = 4 + 25 \cdot 221 = 4 + 5525 = 5529
q=11+9221=11+1989=2000 q = 11 + 9 \cdot 221 = 11 + 1989 = 2000
- Thus, another possible fraction is:
55292000 \frac{5529}{2000}

5. **Compare the two fractions to find the closest one to 925\frac{9}{25}:**
- Calculate the difference for each fraction:
92555302003=92003255530252003=1802713825050075=120223500752.4 \left|\frac{9}{25} - \frac{5530}{2003}\right| = \left|\frac{9 \cdot 2003 - 25 \cdot 5530}{25 \cdot 2003}\right| = \left|\frac{18027 - 138250}{50075}\right| = \left|\frac{-120223}{50075}\right| \approx 2.4
92555292000=92000255529252000=1800013822550000=120225500002.4 \left|\frac{9}{25} - \frac{5529}{2000}\right| = \left|\frac{9 \cdot 2000 - 25 \cdot 5529}{25 \cdot 2000}\right| = \left|\frac{18000 - 138225}{50000}\right| = \left|\frac{-120225}{50000}\right| \approx 2.4

Since both differences are approximately the same, we can choose either fraction. However, the fraction with the smaller denominator is generally preferred.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.