Number theoryDifficulty 5.6AIME, harderProve itSaudi Arabia
How many sequences of integers 1≤a1≤a2≤…≤a11≤2015 that satisfy ai≡i2(mod12) for all 1≤i≤11 are there?
Solution
Let ri be the remainder when i2 is divided by 12, and ai=12ki+ri for some nonnegative integer ki, when 1≤i≤11. From the following table showing the values of ri
i
1
2
3
4
5
6
7
8
9
10
11
ri
1
4
9
4
1
0
1
4
9
4
1
we deduce that the inequality 1≤a1≤a2≤…≤a11≤2015 is equivalent to the inequality 0≤k1≤k2≤k3<k4<k5<k6≤k7≤k8≤k9<k10<k11≤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. Therefore, there are (11173) such sequences.
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 and solution reproduced as published; topic and difficulty added by this site.