2020 Kyiv Mathematical Festival

1.1

(a) Find the numbers $a_0,. . . , a_{100}$, such that $a_0 = 0, a_{100} = 1$ and for all $k = 1,. . . , 99$ : $$a_k = \frac12 a_{k- 1} + \frac12 a_{k+1 }$$(b) Find the numbers $a_0,. . . , a_{100}$, such that $a_0 = 0, a_{100} = 1$ and for all $k = 1,. . . , 99$ : $$a_k = 1+\frac12 a_{k- 1} + \frac12 a_{k+1 }$$.

1.2

Prove that (a) for each $n \ge 1$ $$\sum_{k=0}^n C_{n}^{k} \left(\frac{k}{n}-\frac{1}{2} \right)^2 \frac{1}{2^n}=\frac{1}{4n}$$(b) for every n \ge m \ge 2 $$\sum_{\ell=0}^n \sum_{k_1+...+k_n=\ell,k_i=0,...,m} \frac{\ell!}{k_1!...k_n!} \frac{1}{(m+1)^n} \left(\frac{\ell}{n}-\frac{m}{2} \right)^2= \left(\frac{m^3-3m^2}{12(m+1)}+\frac{m}{2}-\frac{m}{3(m+1)}\right)n$$

2

On the map, the Flower City has the form of a right triangle $ABC$ (see Fig.1). The length of each leg is $6$ meters. All the streets of the city run parallel to one of the legs at a distance of $1$ meter from each other. A river flows along the hypotenuse. From their houses that are located at points $V$ and $S$, at the same time get the Cog and Tab. Each short moves to rivers according to the following rule: tosses his coin, and if the heads falls, he passes $1$ meter parallel to the leg $AB$ to the north (up), and if tails, then passes $1$ meter parallel to the leg $AC$ on east (right). If the Cog and the Tab meet at the same point, then they move together, tossing a coin. a) Which is more likely: Cog and Tab will meet on the way to the river, or will they come to different points on the shore? b) At what point near the river should the Stranger sit, if he wants the most did Gvintik and Shpuntik come to him together? original wordingНа мапi Квiткове мiсто має вигляд прямокутного трикутника ABC (див. рисунок 1). Довжина кожного катету – 6 метрiв. Всi вулицi мiста проходять паралельно одному за катетiв на вiдстанi 1 метра одна вiд одної. Вздовж гiпотенузи тече рiка. Зi своїх будиночкiв, що знаходяться в точках V та S, одночасно виходять Гвинтик та Шпунтик. Кожен коротулька рухається до рiчки за таким правилом: пiдкидає свою монетку, та якщо випадає Орел, вiн проходить 1 метр паралельно катету AB на пiвнiч (вгору), а якщо Решка, то проходить 1 метр паралельно катету AC на схiд (вправо). Якщо Гвинтик та Шпунтик зустрiчаються в однiй точцi, то далi вони рушають разом, пiдкидаючи монетку Гвинтика. 1. Що бiльш ймовiрно: Гвинтик та Шпунтик зустрiнуться на шляху до рiки, або вони прийдуть у рiзнi точки берега? 2. В якiй точцi бiля рiки має сидiти Незнайка, якщо вiн хоче, щоб найбiльш ймовiрно до нього прийшли Гвинтик та Шпунтик разом?

2

Mummy-trolley huts are located on a straight line at points with coordinates $x_1, x_2,...., x_n$. In this village are going to build $3$ stores $A, B$ and $C$, of which will be brought every day to all Moomin-trolls chocolates, bread and water. For the delivery of chocolate, the store takes the distance from the store to the hut, raised to the square; for bread delivery , take the distance from the store to the hut; for water delivery take distance $1$, if the distance is greater than $1$ km, but do not take anything otherwise. a) Where to build each of the stores so that the total cost of all Moomin-trolls for delivery wasthe smallest? b) Where to place the TV tower, if the fee for each Moomin-troll is the maximum distance from the TV tower to the farthest hut from it? c) How will the answer change if the Moomin-troll huts are not located in a straight line, and on the plane? original wordingНа прямiй розташованi хатинки Мумi-тролей в точках з координатами x1, x2, . . . , xn. В цьому селi бираються побудувати 3 магазина A, B та C, з яких будуть кожен день привозити всiм Мумi-тролям шоколадки, хлiб та воду. За доставку шоколадки мага- зин бере вiдстань вiд магазину до хатинки, пiднесену до квадрату; за доставку хлiба – вiдстань вiд магазину до хатинки; за доставку води беруть 1, якщо вiдстань бiльша 1 км, та нiчого не беруть в супротивному випадку. 1. Де побудувати кожний з магазинiв, щоб загальнi витрати всiх Мумi-тролей на доставку були найменшими? 2. Де розташувати телевежу, якщо плата для кожного Мумi-троля – максимальна вiдстань вiд телевежi до самої вiддаленої вiд неї хатинки? 3. Як змiниться вiдповiдь, якщо хатинки Мумi-тролей розташованi не на прямiй, а на площинi?

4

(a) Two players take turns taking $1, 2$ or $3$ stones at random from a given set of $3$ piles, in which initially on $11, 22$ and $33$ stones. If after the move of one of the players in any two groups the same number of stones will remain, this player has won. Who will win with the right game of both players? (b) Two players take turns taking $1$ or $2$ stones from one pile, randomly selected from a given set of $3$ ordered piles, in which at first $100, 200$ and $300$ stones, in order from left to right. Additionally it is forbidden to make a course at which, for some pair of the next handfuls, quantity of stones in the left will be more than the number of stones in the right. If after the move of one of the players of the stones in handfuls will not remain, then this player won. Who will win with the right game of both players? original wording1. Два гравця по черзi беруть 1, 2 чи 3 камiнця довiльним чином з заданого набору з 3 купок, в яких спочатку по 11, 22 i 33 камiнцiв. Якщо пiсля хода одного з гравцiв в якихось двух купках залишиться однакова кiлькiсть камiнцiв, то цей гравець виграв. Хто виграє при правильнiй грi обох гравцiв? 2. Два гравця по черзi беруть 1 чи 2 камiнця з одної купки, довiльної вибраної з заданого набору з 3 впорядкованих купок, в яких спочатку по 100, 200 i 300 камiнцiв, в порядку злiва направо. Додатково забороняется робити ход при якому, для деякої пари сусiднiх купок, кiлькiсть камiнцiв в лiвiй стане бiльше нiж кiлькiсть камiнцiв в правiй. Якщо пiсля ходу одного з гравцiв камiнцiв в купках не залишиться, то цей гравець виграв. Хто виграє при правильнiй грi обох гравцiв?

5

The cities of countries $A$ and $B$ are marked on the map, which has the form of a square with vertices at points $(0, 0)$ , $ (0, 1)$ , $(1, 1)$ , $(1, 0)$ of the plane. According to the trade agreement, country $A$ must ensure the delivery of $n$ kg of wheat to $n$ cities of country $B$, located at the points of the square with coordinates $y_1,..., y_n$, $1$ kg each city. Currently, $n$ kg of wheat are distributed among $n$ cities of country $A$, located at the points of the square with coordinates $x_1,... , x_n$, $1$ kg in each city. From each city of country $A$ to each city of the country $A$ any amount of wheat can be transported (of course, not more than $1$ kg). Transportation cost is for $t$ kg of wheat from a city with coordinates $x_i$ to a city with coordinates $y_j$ is equal to $tl_{ij}$, where $l_{ij }$is the length of the segment connecting the points $x_i$ and $y_j$. The government of country A is going to implement the optimal one (i,e. the cheapest) transportation plan. (a) Is it possible to implement the optimal transportation plan so that from each city of country $A$ to transport wheat only to one city of country $B$? (b) Will the response change if country $A$ is to deliver $n+1$ kg of wheat, in city $x_1$ is $2$ kg of wheat, and $2$ kg should be delivered to city $y_1$ (when for other cities the conditions remain the same)? original wordingМiста країн A та B позначенi на мапi, що має вигляд квадрату з вершинами в точках (0, 0), (0, 1), (1, 1), (1, 0) площини. Згiдно торгової угоди, країна A має забез- печити доставку n кг пшеницi в n мiст країни B, що розташованi в точках квадрату з координатами y1, . . . , yn, по 1 кг в кожне мiсто. Наразi n кг пшеницi розподiленi серед n мiст країни A, що розташованi в точках квадрату з координатами x1, . . . , xn, по 1 кг в кожному мiстi. З кожного мiста країни A в кожне мiсто країни B можна перевезти довiльну кiлькiсть пшеницi (звичайно, не бiльше 1 кг). Вартiсть переве- зення t кг пшеницi з мiста з координатами xi в мiсто з координатами yj дорiвнює tlij , де lij – довжина вiдрiзку, що сполучає точки xi та yj . Уряд країни A збирається реалiзувати оптимальний (тобто найдешевший) план перевезення. 1. Чи можна реалiзувати оптимальний план перевезення таким чином, щоби з кожного мiста країни A перевозити пшеницю тiльке в одне мiсто країни B? 2. Чи змiниться вiдповiдь, якщо країна A має забезпечити доставку n + 1 кг пше- ницi, в мiстi x1 знаходиться 2 кг пшеницi, i в мiсто y1 має бути доставлено 2 кг пшеницi (щодо iнших мiст умови лишаються такими ж)?