2025 AMC 10B Problem 23

Below is the professionally curated solution for Problem 23 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:Diophantine Equationmodular arithmetic

Difficulty rating: 2300

23.

A rectangular grid of squares has 141141 rows and 9191 columns. Each square has room for two numbers. Horace and Vera each fill in the grid by putting the numbers from 11 through 141×91=12,831141 \times 91 = 12{,}831 into the squares. Horace fills the grid horizontally: he puts 11 through 9191 in order from left to right into row 1,1, puts 9292 through 182182 into row 22 in order from left to right, and continues similarly through row 141.141. Vera fills the grid vertically: she puts 11 through 141141 in order from top to bottom into column 1,1, then 142142 through 282282 into column 22 in order from top to bottom, and continues similarly through column 91.91. How many squares get two copies of the same number?

77

1010

1111

1212

1919

Solution:

At row i,i, column j,j, Horace writes 91(i1)+j91(i - 1) + j and Vera writes 141(j1)+i.141(j - 1) + i. Set them equal and simplify to get 9i14j=5,9i - 14j = -5, so i=14j59,i = \tfrac{14j - 5}{9}, an integer exactly when j1(mod9).j \equiv 1 \pmod 9. For j=1,10,19,,91,j = 1, 10, 19, \ldots, 91, that's 1111 values, and ii runs 1,15,29,,141,1, 15, 29, \ldots, 141, all within range. So 1111 squares match. Thus, C is the correct answer.

Problem 23 in Other Years