AMC 10 · 2025 · #2

Grade 5 number-theory
units-digit-trackingmodular-arithmetic-mod-10perfect-squares pattern-recognition ↑ Prerequisites: modular-arithmetic
📏 Medium solution 💡 2 insights
📘 View easy version →
Problem
For each of the first 2025 positive perfect squares 1²,2²,3²,…,2025², take only the ones digit. Add all 2025 of those ones digits together and report the total.

Pick an answer.

(A)
9025
(B)
9070
(C)
9090
(D)
9115
(E)
9160

AMC 10 2025 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

How to solve
Strategy Look for a Pattern

Adding 2025 separate ones digits by hand is hopeless, so Tool #5 (Look for a Pattern) is the key move: the ones digit of n² is fixed by the ones digit of n, so the list of ones digits repeats in blocks of 10. Once the repeating block is known, Tool #7 (Identify Subproblems) splits the count 2025 into whole blocks plus a short leftover, turning one giant sum into a small multiplication plus a tiny add.

1STEP 1

Find the repeating block of ten

The ones digit of n² is fixed by the ones digit of n, so squaring 1 through 10 gives a block that repeats: 1,4,9,6,5,6,9,4,1,0.

1²→1, 2²→4, 3²→9, 4²→6, 5²→5, 6²→6, 7²→9, 8²→4, 9²→1, 10²→0
2STEP 2

Add one full block

Add one block: 1+4+9+6+5+6+9+4+1+0 pairs into four tens plus a 5, so every full cycle contributes 45.

1+4+9+6+5+6+9+4+1+0 = 45
3STEP 3

Count the whole blocks in 2025 terms

Group the 2025 terms by ten: 2025÷10 leaves 202 full blocks with 5 terms left over.

2025 = 202×10 + 5
4STEP 4

Total from the full blocks

Each full block adds 45, so the 202 blocks give 202×45 = 9000+90 = 9090.

202×45 = 9000+90 = 9090
5STEP 5

Add the leftover five terms

The leftovers n=2021 to 2025 end in 1,4,9,6,5, summing to 25, so 9090+25 = 9115 — choice (D).

9090 + (1+4+9+6+5) = 9090 + 25 = 9115 → (D)
Answer
9115
A rough estimate confirms the size: the average ones digit is 45/10=4.5, and 4.5×2025≈9112, right beside 9115. The total must also end in a 5: 202×45 ends in 0 and the leftover 25 ends in 5, so the sum ends in 5 — matching (D) 9115 and ruling out (B), (C), (E). Choice (C) 9090 is the answer only if you drop the last 5 terms, and (A) 9025 comes from miscounting the blocks, so (D) is the consistent result.
💡Key takeaway

Ones digits of squares repeat every ten numbers, so count the full blocks, multiply by one block's sum, then add the few leftovers.

  • Find the repeating block of ten
  • Add one full block
  • Count the whole blocks in 2025 terms
  • Total from the full blocks
  • Add the leftover five terms