Maths Olympiad Prep

Library / Saudi Arabian Mathematical Competitions /185 of 395

Saudi Arabian Mathematical Competitions, 2015

Number theory Difficulty 5.6 AIME, harder Prove it Saudi Arabia

How many sequences of integers
1≤a1≤a2≤…≤a11≤2015 1 \leq a_{1} \leq a_{2} \leq \ldots \leq a_{11} \leq 2015
that satisfy ai≡i2( mod  12)a_{i} \equiv i^{2} (\bmod\ 12) for all 1≤i≤111 \leq i \leq 11 are there?

Solution

Let rir_{i} be the remainder when i2i^{2} is divided by 1212, and ai=12ki+ria_{i} = 12 k_{i} + r_{i} for some nonnegative integer kik_{i}, when 1≤i≤111 \leq i \leq 11. From the following table showing the values of rir_{i}

ii1234567891011
rir_{i}14941014941

we deduce that the inequality
1≤a1≤a2≤…≤a11≤2015 1 \leq a_{1} \leq a_{2} \leq \ldots \leq a_{11} \leq 2015
is equivalent to the inequality
0≤k1≤k2≤k3<k4<k5<k6≤k7≤k8≤k9<k10<k11≤167 0 \leq k_{1} \leq k_{2} \leq k_{3} < k_{4} < k_{5} < k_{6} \leq k_{7} \leq k_{8} \leq k_{9} < k_{10} < k_{11} \leq 167
which is equivalent to
0≤k1<k2+1<k3+2<k4+2<k5+2<k6+2<<k7+3<k8+4<k9+5<k10+5<k11+5≤172. \begin{aligned} 0 \leq & k_{1} < k_{2} + 1 < k_{3} + 2 < k_{4} + 2 < k_{5} + 2 < k_{6} + 2 < \\ & < k_{7} + 3 < k_{8} + 4 < k_{9} + 5 < k_{10} + 5 < k_{11} + 5 \leq 172 . \end{aligned}
Therefore, there are (17311)\binom{173}{11} such sequences.

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

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