Problem

Source: European Mathematical Cup 2012, Senior Division, Problem 4

Tags: algebra, function, combinatorics, linear algebra



Olja writes down $n$ positive integers $a_1, a_2, \ldots, a_n$ smaller than $p_n$ where $p_n$ denotes the $n$-th prime number. Oleg can choose two (not necessarily different) numbers $x$ and $y$ and replace one of them with their product $xy$. If there are two equal numbers Oleg wins. Can Oleg guarantee a win? Proposed by Matko Ljulj.