Take a test Sign in 中文
← Exercise 941 →
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 941
For a particular positive integer $n$, the sum of its digits is $S(n)=2024$. What is the smallest possible value of $S(n+1)$?
← Back to Problem 941
Solution
  1. If $n$ ends in exactly $k$ nines, then $S(n+1)=S(n)+1-9k=2025-9k$. Also $9k\le2024$, so $k\le224$.
  2. So $S(n+1)\ge2025-2016=9$, attained by $n=8\underbrace{99\ldots9}_{224}$, whose successor is $9\underbrace{00\ldots0}_{224}$.
  3. The answer is $\boxed{9}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year