MathDB

Problems(2)

whatever strategy is the list of numbers on the blackboard remains the same

Source: P2 Francophone Math Olympiad Junior 2023

5/2/2023
On her blackboard, Alice has written nn integers strictly greater than 11. Then, she can, as often as she likes, erase two numbers aa and bb such that aba \neq b, and replace them with qq and q2q^2, where qq is the product of the prime factors of abab (each prime factor is counted only once). For instance, if Alice erases the numbers 44 and 66, the prime factors of ab=23×3ab = 2^3 \times 3 and 22 and 33, and Alice writes q=6q = 6 and q2=36q^2 =36. Prove that, after some time, and whatever Alice's strategy is, the list of numbers written on the blackboard will never change anymore.
Note: The order of the numbers of the list is not important.
combinatoricsgamegame strategy
Scrooge McDuck owns k gold coins

Source: P2 Francophone Math Olympiad Senior 2023

5/2/2023
Let kk be a positive integer. Scrooge McDuck owns kk gold coins. He also owns infinitely many boxes B1,B2,B3,B_1, B_2, B_3, \ldots Initially, bow B1B_1 contains one coin, and the k1k-1 other coins are on McDuck's table, outside of every box. Then, Scrooge McDuck allows himself to do the following kind of operations, as many times as he likes: - if two consecutive boxes BiB_i and Bi+1B_{i+1} both contain a coin, McDuck can remove the coin contained in box Bi+1B_{i+1} and put it on his table; - if a box BiB_i contains a coin, the box Bi+1B_{i+1} is empty, and McDuck still has at least one coin on his table, he can take such a coin and put it in box Bi+1B_{i+1}. As a function of kk, which are the integers nn for which Scrooge McDuck can put a coin in box BnB_n?
combinatorics