Maths Olympiad Prep

Library / /123 of 740

, 2014

Number theory Difficulty 4.7 AIME Find the answer United States

Problem:

For any positive integer xx, define Accident(x)\operatorname{Accident}(x) to be the set of ordered pairs (s,t)(s, t) with s{0,2,4,5,7,9,11}s \in \{0,2,4,5,7,9,11\} and t{1,3,6,8,10}t \in \{1,3,6,8,10\} such that x+stx+s-t is divisible by 1212. For any nonnegative integer ii, let aia_{i} denote the number of x{0,1,,11}x \in \{0,1, \ldots, 11\} for which Accident(x)=i|\operatorname{Accident}(x)|=i. Find
a02+a12+a22+a32+a42+a52 a_{0}^{2}+a_{1}^{2}+a_{2}^{2}+a_{3}^{2}+a_{4}^{2}+a_{5}^{2}

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:

Answer: 26

Modulo twelve, the first set turns out to be {17,07,,57}\{-1 \cdot 7, 0 \cdot 7, \ldots, 5 \cdot 7\} and the second set turns out to be {67,,107}\{6 \cdot 7, \ldots, 10 \cdot 7\}. We can eliminate the factor of 77 and shift to reduce the problem to s{0,1,,6}s \in \{0,1, \ldots, 6\} and t{7,,11}t \in \{7, \ldots, 11\}. With this we can easily compute (a0,a1,a2,a3,a4,a5)=(1,2,2,2,2,3)\left(a_{0}, a_{1}, a_{2}, a_{3}, a_{4}, a_{5}\right) = (1,2,2,2,2,3). Therefore, the answer is 2626.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.