2025 AMC 10B Problem 18

Below is the professionally curated solution for Problem 18 of the 2025 AMC 10B, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2025 AMC 10B solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:floor and ceiling functionssum of first n squares

Difficulty rating: 1730

18.

What is the ones digit of the sum 1+2+3++2024+2025?\lfloor\sqrt{1}\rfloor + \lfloor\sqrt{2}\rfloor + \lfloor\sqrt{3}\rfloor + \cdots + \lfloor\sqrt{2024}\rfloor + \lfloor\sqrt{2025}\rfloor? (Recall that x\lfloor x \rfloor denotes the greatest integer less than or equal to x.x.)

11

22

33

55

88

Solution:

For each m,m, n=m\lfloor\sqrt{n}\rfloor = m on the 2m+12m + 1 integers m2n(m+1)21.m^2 \le n \le (m + 1)^2 - 1. Since 2025=45,\sqrt{2025} = 45, the terms with 1m441 \le m \le 44 contribute m=144m(2m+1),\sum_{m=1}^{44} m(2m + 1), and n=2025n = 2025 tacks on 45.45. That sum is m=144(2m2+m)=24445896+44452=58740+990=59730,\sum_{m=1}^{44}(2m^2 + m) = 2 \cdot \tfrac{44 \cdot 45 \cdot 89}{6} + \tfrac{44 \cdot 45}{2} = 58740 + 990 = 59730, so the total is 59775.59775. Its ones digit is 5.5. Therefore, the answer is D.

Problem 18 in Other Years