Take a test Sign in 中文
← Exercise 626 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Digits (23)
Primes (14)
Divisors, GCD, and LCM (28)
Divisibility (22)
Fractions, Decimals, and the Floor Function (14)
Bases (19)
Modular Arithmetic (30)
Integer Equations (29)

Exercises and their solutions

Exercise 626
For how many ordered pairs of positive integers $(x,y),$ with $y<x\le 200,$ are both $\frac xy$ and $\frac{x+1}{y+1}$ integers?
← Back to Problem 626
Solution
  1. If $y\mid x$ and $(y+1)\mid(x+1)$, then $y(y+1)\mid x-y$ (since $x-y$ is divisible by $y$ and by $y+1$, which are coprime).
  2. So $x=y+ky(y+1)$ with $k\ge1$ and $x\le200$.
  3. For each $y$ the number of $k$ is $\bigl\lfloor\frac{200-y}{y(y+1)}\bigr\rfloor$.
  4. Summing over $y=1,\dots,13$ gives $99+33+16+9+6+4+3+2+2+1+1+1+1=178$.
  5. The answer is $\boxed{178}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1996 (1 problems)
1991 (1 problems)