Problem

Source: Switzerland Final Round 2021 P3

Tags: number theory, Sets



Find all finite sets $S$ of positive integers with at least $2$ elements, such that if $m>n$ are two elements of $S$, then $$ \frac{n^2}{m-n} $$is also an element of $S$.