Take a test Sign in 中文
← Exercise 565 →
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 565
For positive integer $n$, let $s(n)$ denote the sum of the digits of $n$. Find the smallest positive integer satisfying $s(n) = s(n+927) = 23$.
← Back to Problem 565
Solution
  1. Adding $927$ changes the digit sum by $18-9c$, where $c$ is the number of carries; equal sums need exactly $2$ carries.
  2. Checking candidates with digit sum $23$ in increasing order, the first with exactly two carries is $869$, as $869+927=1796$, and both digit sums are $23$.
  3. The answer is $\boxed{869}$.
Search Go to Prev      Next

Contact Us

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