An interstellar hotel has rooms with capacities people. These rooms are occupied by people in total. Now a VIP guest is about to arrive and the owner wants to provide him with a personal room. On that purpose, the owner wants to choose two rooms and and move all guests from to without exceeding its capacity. Determine the largest for which the owner can be sure that he can achieve his goal no matter what the initial distribution of the guests is.
RU-ALLRUSSIAN 2019
All-Russian Mathematical Olympiad 2019.
Other problems
Let be a non-constant polynomial with integer coefficients and let be a positive integer. The sequence is defined as follows: and for all positive integers Assume that for every positive integer the sequence contains a th power of an integer greater than Show that is linear.