Problem

Source: SAMO 2016 Q1

Tags: combinatorics



At the start of the Mighty Mathematicians Football Team's first game of the season, their coach noticed that the jersey numbers of the 22 players on the field were all the numbers from 1 to 22. At halftime, the coach substituted her goal-keeper, with jersey number 1, for a reserve player. No other substitutions were made by either team at or before halftime. The coach noticed that after the substitution, no two players on the field had the same jersey number and that the sums of the jersey numbers of each of the teams were exactly equal. Determine * the greatest possible jersey number of the reserve player, * the smallest possible (positive) jersey number of the reserve player.