Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2005 / Problems / Day 1, P2

IMC 2005 · Day 1 · P2

easy

For an integer n3n \ge 3 consider the sets Sn={(x1,x2,,xn):i xi{0,1,2}}S_n = \{ (x_1, x_2, \dots, x_n) : \forall i\ x_i \in \{0, 1, 2\} \} An={(x1,x2,,xn)Sn:in2 {xi,xi+1,xi+2}1}A_n = \{ (x_1, x_2, \dots, x_n) \in S_n : \forall i \le n-2\ |\{x_i, x_{i+1}, x_{i+2}\}| \ne 1 \} and Bn={(x1,x2,,xn)Sn:in1 (xi=xi+1xi0)}.B_n = \{ (x_1, x_2, \dots, x_n) \in S_n : \forall i \le n-1\ (x_i = x_{i+1} \Rightarrow x_i \ne 0) \}. Prove that An+1=3Bn|A_{n+1}| = 3 \cdot |B_n|.

(A|A| denotes the number of elements of the set AA.)

Solution 1 of 2 (official)

Extend the definitions also for n=1,2n = 1, 2. Consider the following sets An={(x1,x2,,xn)An:xn=xn1},An=AnAn,A_n' = \{ (x_1, x_2, \dots, x_n) \in A_n : x_n = x_{n-1} \}, \quad A_n'' = A_n \setminus A_n', Bn={(x1,x2,,xn)Bn:xn=0},Bn=BnBnB_n' = \{ (x_1, x_2, \dots, x_n) \in B_n : x_n = 0 \}, \quad B_n'' = B_n \setminus B_n' and denote an=Ana_n = |A_n|, an=Ana_n' = |A_n'|, an=Ana_n'' = |A_n''|, bn=Bnb_n = |B_n|, bn=Bnb_n' = |B_n'|, bn=Bnb_n'' = |B_n''|.

It is easy to observe the following relations between the aa–sequences {an=an+anan+1=anan+1=2an+2an,\begin{cases} a_n = a_n' + a_n'' \\ a_{n+1}' = a_n'' \\ a_{n+1}'' = 2 a_n' + 2 a_n'' \end{cases}, which lead to an+1=2an+2an1a_{n+1} = 2 a_n + 2 a_{n-1}.

For the bb–sequences we have the same relations {bn=bn+bnbn+1=bnbn+1=2bn+2bn,\begin{cases} b_n = b_n' + b_n'' \\ b_{n+1}' = b_n'' \\ b_{n+1}'' = 2 b_n' + 2 b_n'' \end{cases}, therefore bn+1=2bn+2bn1b_{n+1} = 2 b_n + 2 b_{n-1}.

By computing the first values of (an)(a_n) and (bn)(b_n) we obtain {a1=3, a2=9, a3=24b1=3, b2=8\begin{cases} a_1 = 3,\ a_2 = 9,\ a_3 = 24 \\ b_1 = 3,\ b_2 = 8 \end{cases} which leads to {a2=3b1a3=3b2\begin{cases} a_2 = 3 b_1 \\ a_3 = 3 b_2 \end{cases} Now, reasoning by induction, it is easy to prove that an+1=3bna_{n+1} = 3 b_n for every n1n \ge 1.

Solution 2 of 2 (official)

Regarding xix_i to be elements of Z3\mathbb{Z}_3 and working “modulo 3”, we have that (x1,x2,,xn)An(x1+1,x2+1,,xn+1)An, (x1+2,x2+2,,xn+2)An(x_1, x_2, \dots, x_n) \in A_n \Rightarrow (x_1 + 1, x_2 + 1, \dots, x_n + 1) \in A_n,\ (x_1 + 2, x_2 + 2, \dots, x_n + 2) \in A_n which means that 1/31/3 of the elements of AnA_n start with 0. We establish a bijection between the subset of all the vectors in An+1A_{n+1} which start with 0 and the set BnB_n by (0,x1,x2,,xn)An+1(y1,y2,,yn)Bn(0, x_1, x_2, \dots, x_n) \in A_{n+1} \longmapsto (y_1, y_2, \dots, y_n) \in B_n y1=x1, y2=x2x1, y3=x3x2, , yn=xnxn1y_1 = x_1,\ y_2 = x_2 - x_1,\ y_3 = x_3 - x_2,\ \dots,\ y_n = x_n - x_{n-1} (if yk=yk+1=0y_k = y_{k+1} = 0 then xkxk1=xk+1xk=0x_k - x_{k-1} = x_{k+1} - x_k = 0 (where x0=0x_0 = 0), which gives xk1=xk=xk+1x_{k-1} = x_k = x_{k+1}, which is not possible because of the definition of the sets ApA_p; therefore, the definition of the above function is correct).

The inverse is defined by (y1,y2,,yn)Bn(0,x1,x2,,xn)An+1(y_1, y_2, \dots, y_n) \in B_n \longmapsto (0, x_1, x_2, \dots, x_n) \in A_{n+1} x1=y1, x2=y1+y2, , xn=y1+y2++ynx_1 = y_1,\ x_2 = y_1 + y_2,\ \dots,\ x_n = y_1 + y_2 + \dots + y_n

How the field did

contestants scored
226
average (of 20)
14.09
solved (≥ 80%)
67.3%
near-0 (≤ 10%)
23.0%
discrimination
0.57

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2020 · Day 1 · P1easyavg 7.7/10 · solved 70% · near-0 11% · disc 0.29
IMC 2002 · Day 2 · P8easyavg 8.0/10 · solved 76% · near-0 14% · disc 0.47
IMC 2024 · Day 2 · P6easyavg 8.2/10 · solved 77% · near-0 11% · disc 0.35
IMC 1999 · Day 2 · P8mediumavg 5.6/10 · solved 49% · near-0 32% · disc 0.58