Skip to main content

2010 AIME I Problem 10

Problem 10 of 15IntermediateNumber TheoryCombinatoricsArithmetic

Let NN be the number of ways to write 20102010 in the form 2010=a3⋅103+a2⋅102+a1⋅10+a0, \begin{aligned} 2010 &= a_3 \cdot 10^3 + a_2 \cdot 10^2 \\ &\quad {}+ a_1 \cdot 10 + a_0, \end{aligned} where the aia_i’s are integers, and 0≤ai≤99.0 \le a_i \le 99. An example of such a representation is 1⋅1031 \cdot 10^3 +3⋅102+ 3 \cdot 10^2 +67⋅101+ 67 \cdot 10^1 +40⋅100.+ 40 \cdot 10^0. Find N.N.

Your answer

Integer from 0 to 999
Show solution

Solution

Write each coefficient as ai=10bi+cia_i = 10b_i + c_i with digits bi,ci∈{0,1,…,9};b_i, c_i \in \{0, 1, \ldots, 9\}; every integer 0≤ai≤990 \le a_i \le 99 splits this way uniquely. Setting m=b3b2b1b0m = b_3 b_2 b_1 b_0 and n=c3c2c1c0n = c_3 c_2 c_1 c_0 (read as base-1010 numbers), the condition becomes 2010=10m+n.2010 = 10m + n. Conversely, any nonnegative integers m,nm, n with 10m+n=201010m + n = 2010 satisfy m≤201m \le 201 and n≤2010,n \le 2010, so each has at most four digits; those digits recover the bib_i and ci,c_i, hence the ai.a_i. So representations correspond exactly to choices of m∈{0,1,…,201}m \in \{0, 1, \ldots, 201\} with n=2010−10m,n = 2010 - 10m, and N=202.N = 202.
AoPS wiki

Tagged: number base · digits · bijection

More practice