2024 AIME II Problem 3
Problem 3 of 15EasierNumber TheoryCombinatoricsArithmetic
Find the number of ways to place a digit in each cell of a grid so that the sum of the two numbers formed by reading left to right is and the sum of the three numbers formed by reading top to bottom is The grid below is an example of such an arrangement because and

Your answer
Integer from 0 to 999
Show solution
Solution
Let the top row hold digits and the bottom row In the sum of the two row numbers, the units digits satisfy and since in fact with no carry. Repeating the argument in the tens and hundreds places gives and
The three column numbers add to Writing the bottom digits sum to so and
Conversely, any digits with determine the bottom row by and both conditions hold. The number of solutions of in nonnegative digits is
Tagged: digits · place value · stars and bars