Take a test Sign in 中文
← Exercise 849 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Equations (63)
Polynomials (44)
Functions (28)
Sequences (44)
Logarithm (45)
Extrema (21)
Complex Numbers (42)
Trigonometry (23)

Exercises and their solutions

Exercise 849
For each positive integer $p$, let $b(p)$ denote the unique positive integer $k$ such that $|k-\sqrt{p}| < \frac{1}{2}$. For example, $b(6) = 2$ and $b(23) = 5$. If $S = \sum_{p=1}^{2025} b(p),$ find the remainder when $S$ is divided by 1000.
← Back to Problem 849
Solution
  1. $b(p)=k$ for $k^2-k+1\le p\le k^2+k$, which is $2k$ values.
  2. Since $44^2+44=1980$, $\sum_{k=1}^{44}2k^2=2\cdot\frac{44\cdot45\cdot89}6=58740$, and $p=1981,\dots,2025$ ($45$ values) have $b=45$, giving $2025$.
  3. So $S=60765$, remainder $765$.
  4. The answer is $\boxed{765}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year