Subcontests
(6)Italian Mathematical Olympiad 2021 - Problem 3
A grid consists of n×n points, with n∈Z+. In some of these points is a sentry. Every sentry chooses two directions, one perpendicular to the other (one vertical and the other horizontal) and watches over all the points that are found in the two chosen directions. Each sentry watches over her own point as well and the sentries on the edge of the grid can also watch the vacuum, depending on the directions they have chosen.For instance, in the figure below, representing a disposition of 5 sentries in a 4×4 grid, the sentries in A,B,C,D,E watch over 1,3,4,5,7 points, respectively; points D and E are watched by one sentry, point C is watched by two sentries, points A,B and F are watched by three sentries.(a) Prove that we can place 12 sentries in a 4×4 grid in such a way that every point of the grid is watched by at most two sentries.
(b) Let S(n) be the maximum number of sentries we can place on an n×n grid in such a way that every point of the grid is watched by at most two sentries. Prove that 3n≤S(n)≤4n for all n≥3. Periodic sequence
A sequence x1,x2,...,xn,... consists of an initial block of p positive distinct integers that then repeat periodically. This means that {x1,x2,…,xp} are p distinct positive integers and xn+p=xn for every positive integer n. The terms of the sequence are not known and the goal is to find the period p. To do this, at each move it possible to reveal the value of a term of the sequence at your choice.(a) Knowing that 1≤p≤10, find the least n such that there is a strategy which allows to find p revealing at most n terms of the sequence.
(b) Knowing that p is one of the first k prime numbers, find for which values of k there exist a strategy that allows to find p revealing at most 5 terms of the sequence. Pirate sum
Given two fractions a/b and c/d we define their pirate sum as:
ba⋆dc=b+da+c where the two initial fractions are simplified the most possible, like the result.
For example, the pirate sum of 2/7 and 4/5 is 1/2.
Given an integer n≥3, initially on a blackboard there are the fractions:
11,21,31,...,n1.
At each step we choose two fractions written on the blackboard, we delete them and write at their place their pirate sum. Continue doing the same thing until on the blackboard there is only one fraction.
Determine, in function of n, the maximum and the minimum possible value for the last fraction.