2025 AMC 12B Problem 19

Below is the professionally curated solution for Problem 19 of the 2025 AMC 12B, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2025 AMC 12B 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 arithmeticcounting integers in a range

Difficulty rating: 2040

19.

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:

In row r,r, column c,c, Horace writes (r1)91+c(r-1)\cdot 91 + c and Vera writes (c1)141+r.(c-1)\cdot 141 + r. Setting these equal gives 90r140c=50,90r - 140c = -50, i.e. 9r=14c5.9r = 14c - 5. This requires c1(mod9),c \equiv 1 \pmod 9, so c=1,10,19,,91c = 1, 10, 19, \ldots, 91 — that is 1111 values, and each yields a valid rr between 11 and 141.141. So 1111 squares match.

Thus, the correct answer is C.

Problem 19 in Other Years