Take a test Sign in 中文
← Exercise 802 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 802
Let $S$ be the set of lattice points whose coordinates are both integers from $1$ to $10$. Exactly $40$ points of $S$ lie on or below a line $y=mx$. The possible values of $m$ lie in an interval of length $\frac ab$, where $a$ and $b$ are relatively prime positive integers. What is $a+b$?
← Back to Problem 802
Solution
  1. At $m=\frac45$: $\lfloor\frac{4x}5\rfloor$ for $x=1,\dots,10$ is $0,1,2,3,4,4,5,6,7,8$, with sum $40$. For smaller $m$ the points $(5,4)$ and $(10,8)$ are lost.
  2. The next point above the line: $\frac yx-\frac45=\frac{5y-4x}{5x}$ is smallest for $5y-4x=1$ with $x$ largest, $x=6$, $y=5$, giving $\frac1{30}$.
  3. So $m\in\left[\frac45,\frac56\right)$, of length $\frac1{30}$, and $a+b=\boxed{31}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year