Maths Olympiad Prep

Library / /27 of 27

, 2008

Algebra Difficulty 7.2 National olympiad, round 2 Prove it India

Let α\alpha be a real number larger than 11. Define a sequence (sn)n1(s_n)_{n \ge 1} as follows: s1=1s_1 = 1, s2=αs_2 = \alpha; if s1,s2,s3,,s2ns_1, s_2, s_3, \dots, s_{2^n} are defined for some n1n \ge 1, then s2n+1,s2n+2,,s2n+1s_{2^n+1}, s_{2^n+2}, \dots, s_{2^{n+1}} are defined by sj=αsj2ns_j = \alpha s_{j-2^n}, for 2n+1j2n+12^n+1 \le j \le 2^{n+1}. (Thus the first few terms are 1,α,α2,α,α2,α3,1, \alpha, \alpha^2, \alpha, \alpha^2, \alpha^3, \dots) Let cn=s1+s2+s3++snc_n = s_1+s_2+s_3+\dots+s_n. If n=2e0+2e1++2ekn = 2^{e_0} + 2^{e_1} + \dots + 2^{e_k}, where e0>e1>>ek0e_0 > e_1 > \dots > e_k \ge 0 is the binary representation of a positive integer nn, prove that
cn=(1+α)e0+α(1+α)e1+α2(1+α)e2++αk(1+α)ek. c_n = (1 + \alpha)^{e_0} + \alpha(1 + \alpha)^{e_1} + \alpha^2(1 + \alpha)^{e_2} + \dots + \alpha^k(1 + \alpha)^{e_k}.

Solution

We prove this in four steps. We use sn=s(n)s_n = s(n) and cn=c(n)c_n = c(n),

(A) If b(n)b(n) denotes the number of 11's in the binary representation of a non-negative integer nn, we have s(n)=αb(n1)s(n) = \alpha^{b(n-1)}, n1n \ge 1.
Proof: We use induction. Note that s(1)=1=αb(0)s(1) = 1 = \alpha^{b(0)}. Suppose s(r)=αb(r1)s(r) = \alpha^{b(r-1)}, for 1r2n11 \le r \le 2^{n-1}. Take any rr such that 2n1+1r2n2^{n-1} + 1 \le r \le 2^n. We have
s(r)=αs(r2n1)=ααb(r2n11)=αb(r2n11)+1=αb(r1), \begin{aligned} s(r) &= \alpha s(r - 2^{n-1}) \\ &= \alpha \alpha^{b(r-2^{n-1}-1)} \\ &= \alpha^{b(r-2^{n-1}-1)+1} = \alpha^{b(r-1)}, \end{aligned}
as r1r-1 has exactly one more 11 in its binary representation than r2n11r-2^{n-1}-1.

(B) If m1m \ge 1, we have s(2m+1)=s(m+1)s(2m+1) = s(m+1) and s(2m)=αs(m)s(2m) = \alpha s(m).
Proof: Since mm and 2m2m have same number of 11's, we have
s(2m+1)=αb(2m)=αb(m)=s(m+1). s(2m+1) = \alpha^{b(2m)} = \alpha^{b(m)} = s(m+1).
For even numbers, first we show that s(2m)=αs(2m1)s(2m) = \alpha s(2m-1). This is easy to establish by induction. Observe s(2)=α=αs(1)s(2) = \alpha = \alpha s(1). If 2n1+12m1<2n2n2^{n-1} + 1 \le 2m-1 < 2n \le 2^n, we get by induction hypothesis
s(2m)=αs(2m2n1)=α2s(2m12n1)=αs(2m1). s(2m) = \alpha s(2m - 2^{n-1}) = \alpha^2 s(2m - 1 - 2^{n-1}) = \alpha s(2m - 1).
Thus we get
s(2m)=αs(2m1)=αs(2(m1)+1)=αs(m1+1)=αs(m), s(2m) = \alpha s(2m - 1) = \alpha s(2(m - 1) + 1) = \alpha s(m - 1 + 1) = \alpha s(m),
where we have used s(2k+1)=s(k+1)s(2k+1) = s(k+1).

(C) For m1m \ge 1, we have c(2m)=(1+α)c(m)c(2m) = (1+\alpha)c(m) and c(2m+1)=αc(m)+c(m+1)c(2m+1) = \alpha c(m) + c(m+1).
Proof: We have
c(2m)=(s(1)+s(3)++s(2m1))+(s(2)+s(4)+s(2m))=(s(1)+s(2)+s(m))+α(s(1)+s(2)+s(m))=(1+α)(s(1)+s(2)+s(m))=(1+α)c(m). \begin{aligned} c(2m) &= (s(1) + s(3) + \cdots + s(2m-1)) + (s(2) + s(4) + \cdots s(2m)) \\ &= (s(1) + s(2) + \cdots s(m)) + \alpha(s(1) + s(2) + \cdots s(m)) \\ &= (1 + \alpha)(s(1) + s(2) + \cdots s(m)) = (1 + \alpha)c(m). \end{aligned}
Similarly,
c(2m+1)=(s(1)+s(3)++s(2m1)+s(2m+1))+(s(2)+s(4)+s(2m))=(s(1)+s(2)+s(m)+s(m+1))+α(s(1)+s(2)+s(m))=αc(m)+c(m+1). \begin{aligned} c(2m+1) &= (s(1) + s(3) + \cdots + s(2m-1) + s(2m+1)) + (s(2) + s(4) + \cdots s(2m)) \\ &= (s(1) + s(2) + \cdots s(m) + s(m+1)) + \alpha(s(1) + s(2) + \cdots s(m)) \\ &= \alpha c(m) + c(m+1). \end{aligned}

(D) We complete the deduction. Let n1n \ge 1 and n=2e0+2e1++2ekn = 2^{e_0} + 2^{e_1} + \dots + 2^{e_k}, where e0>e1>>ek0e_0 > e_1 > \dots > e_k \ge 0 is the binary representation of a positive integer nn. We prove
c(n)=(1+α)e0+α(1+α)e1+α2(1+α)e2++αk(1+α)ek. c(n) = (1 + \alpha)^{e_0} + \alpha(1 + \alpha)^{e_1} + \alpha^2(1 + \alpha)^{e_2} + \dots + \alpha^k(1 + \alpha)^{e_k}.

For n=1n = 1, we have 1=201 = 2^0, and C(1)=s(1)=1=(1+α)0C(1) = s(1) = 1 = (1 + \alpha)^0. Suppose the statement is true for c(1),c(2),,c(n1)c(1), c(2), \dots, c(n-1), n2n \ge 2. If n=2mn = 2m and m=2e0+2e1++2ekm = 2^{e_0} + 2^{e_1} + \dots + 2^{e_k}, where e0>e1>>eke_0 > e_1 > \dots > e_k, we have by (C),
c(n)=(1+α)c(m)=(1+α)((1+α)e0++αk(1+α)ek)=(1+α)e0+1++αk(1+α)ek+1. c(n) = (1 + \alpha)c(m) = (1 + \alpha)((1 + \alpha)^{e_0} + \dots + \alpha^k(1 + \alpha)^{e_k}) = (1 + \alpha)^{e_0+1} + \dots + \alpha^k(1 + \alpha)^{e_k+1}.
As n=2m=2e0+1++2ek+1n = 2m = 2^{e_0+1} + \dots + 2^{e_k+1}, the desired result follows for n=2mn = 2m. Suppose n=2m+1n = 2m + 1, where m=2e0+2e1++2ekm = 2^{e_0} + 2^{e_1} + \dots + 2^{e_k}, where e0>e1>>eke_0 > e_1 > \dots > e_k. In this case n=2e0+1++2ek+1+20n = 2^{e_0+1} + \dots + 2^{e_k+1} + 2^0 and m+1=2e0++2ek+20m+1 = 2^{e_0} + \dots + 2^{e_k} + 2^0. Thus
c(2m+1)=ac(m)+c(m+1)=α((1+α)e0++αk(1+α)ek)+((1+α)e0++αk(1+α)ek+αk+1)=(1+α)e0+1++αk(1+α)ek+1+αk+1(1+α)0. c(2m+1) = ac(m) + c(m+1) = \alpha((1+\alpha)^{e_0} + \dots + \alpha^k(1+\alpha)^{e_k}) + ((1+\alpha)^{e_0} + \dots + \alpha^k(1+\alpha)^{e_k} + \alpha^{k+1}) = (1+\alpha)^{e_0+1} + \dots + \alpha^k(1+\alpha)^{e_k+1} + \alpha^{k+1}(1+\alpha)^0.
Thus the relation is true for n=2m+1n = 2m + 1 as well. This completes the proof by induction on nn.

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.