Problem

Source: 2023 Taiwan TST Round 3 Independent Study 2-C

Tags: combinatorics



Two squids are forced to participate in a game. Before it begins, they will be informed of all the rules, and can discuss their strategies freely. Then, they will be locked in separate rooms, and be given distinct positive integers no larger than $2023$ as their IDs respectively. The two squids then take turns alternatively; on one's turn, the squid chooses one of the following: 1. announce a positive integer, which will be heard by the other squid; 2. declare which squid has the larger ID. If correct, they win and are released together; otherwise, they lose and are fried together. Find the smallest positive integer $N$ so that, no matter what IDs the squids have been given, they can always win in a finite number of turns, and the sum of the numbers announced during the game is no larger than $N$.