Problem

Source: 2020 Czech and Slovak Olympiad III A p1

Tags: game, combinatorics, ratio



Two positive integers $m$ and $n$ are written on the board. We replace one of two numbers in each step on the board by either their sum, or product, or ratio (if it is an integer). Depending on the numbers $m$ and $n$, specify all the pairs that can appear on the board in pairs. (Radovan Švarc)