IF I N = J N = 1 THEN I AND J CAN BE CONSECUTIVE IFF I N−1 J N−1 =...

2. If i n = j n = 1 then i and j can be consecutive iff i n−1 j n−1 = 0 and i n−2 . . . i 1 and j n−2 . . . j 1 can be

consecutive.

Hence i and j can be consecutive iff (i + 1, j + 1)-th entry of A n is 1. Denoting this entry by a i,j , the sum

S(A k−1 n ) = P 2

n

−1

i

1

=0 · · · P 2

n

−1

i

k

=0 a i

1

i

2

a i

2

i

3

· · · a i

k−1

i

k

counts the possible fillings. Therefore F nk = S(A k−1 n ).

The the obvious statement F nk = F kn completes the proof.

11 th International Mathematical Competition for University Students

Skopje, 25–26 July 2004

Solutions for problems on Day 1

Problem 1. Let S be an infinite set of real numbers such that |s 1 + s 2 + · · · + s k | < 1 for every finite subset

{s 1 , s 2 , . . . , s k } ⊂ S. Show that S is countable. [20 points]

Solution. Let S n = S ∩ ( 1 n , ∞) for any integer n > 0. It follows from the inequality that |S n | < n. Similarly, if we

define S −n = S ∩ (−∞, − n 1 ), then |S −n | < n. Any nonzero x ∈ S is an element of some S n or S −n , because there

exists an n such that x > n 1 , or x < − 1 n . Then S ⊂ {0} ∪ S

(S n ∪ S −n ), S is a countable union of finite sets, and

n∈N

hence countable.

Problem 2. Let P (x) = x 2 − 1. How many distinct real solutions does the following equation have:

P (P (. . . (P

(x)) . . . )) = 0 ? [20 points]

| {z }

2004

(x))...)). As P 1 (x) ≥ −1, for each x ∈ R, it must be that P n+1 (x) = P 1 (P n (x)) ≥

Solution. Put P n (x) = P (P (...(P

n

−1, for each n ∈ N and each x ∈ R. Therefore the equation P n (x) = a, where a < −1 has no real solutions.

Let us prove that the equation P n (x) = a, where a > 0, has exactly two distinct real solutions. To this end we

use mathematical induction by n. If n = 1 the assertion follows directly. Assuming that the assertion holds for a

n ∈ N we prove that it must also hold for n + 1. Since P n+1 (x) = a is equivalent to P 1 (P n (x)) = a, we conclude

that P n (x) = √

a + 1 or P n (x) = − √

a + 1. The equation P n (x) = √

a + 1, as √

a + 1 > 1, has exactly two distinct

real solutions by the inductive hypothesis, while the equation P n (x) = − √

a + 1 has no real solutions (because

− √

a + 1 < −1). Hence the equation P n+1 (x) = a, has exactly two distinct real solutions.

Let us prove now that the equation P n (x) = 0 has exactly n + 1 distinct real solutions. Again we use