Find a irreducible fraction with denominator not greater than 2005, that is closest to 259 but is not 259
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 259 but is not 259, we can use the following steps:
1. **Express the difference between 259 and another fraction qp:** 259−qp=25q9q−25p We want to minimize this difference.
2. Consider the case where the absolute difference is 1: ∣9q−25p∣=1 This can be split into two cases: - 9q−25p=1 - 9q−25p=−1
3. **Solve the Diophantine equation 9q−25p=1:** - We can find a particular solution to this equation using the Extended Euclidean Algorithm. One particular solution is (p,q)=(5,14). - The general solution to the equation 9q−25p=1 is given by: p=5+25k,q=14+9k - We need to find the largest integer k such that q≤2005: 14+9k≤2005⟹9k≤1991⟹k≤91991⟹k≤221 - The largest integer k is 221. Substituting k=221 into the general solution: p=5+25⋅221=5+5525=5530 q=14+9⋅221=14+1989=2003 - Thus, one possible fraction is: 20035530
4. **Solve the Diophantine equation 9q−25p=−1:** - We can find a particular solution to this equation using the Extended Euclidean Algorithm. One particular solution is (p,q)=(4,11). - The general solution to the equation 9q−25p=−1 is given by: p=4+25k,q=11+9k - We need to find the largest integer k such that q≤2005: 11+9k≤2005⟹9k≤1994⟹k≤91994⟹k≤221 - The largest integer k is 221. Substituting k=221 into the general solution: p=4+25⋅221=4+5525=5529 q=11+9⋅221=11+1989=2000 - Thus, another possible fraction is: 20005529
5. **Compare the two fractions to find the closest one to 259:** - Calculate the difference for each fraction: 259−20035530=25⋅20039⋅2003−25⋅5530=5007518027−138250=50075−120223≈2.4 259−20005529=25⋅20009⋅2000−25⋅5529=5000018000−138225=50000−120225≈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.