2019 USAJMO Problems/Problem 6
Two rational numbers and are written on a blackboard, where and are relatively prime positive integers. At any point, Evan may pick two of the numbers and written on the board and write either their arithmetic mean or their harmonic mean on the board as well. Find all pairs such that Evan can write on the board in finitely many steps.
Proposed by Yannick Yao