Problem

Source: Balkan MO Shortlist 2013 N7 BMO

Tags: number theory, greatest common divisor, Difference, set



Two distinct positive integers are called close if their greatest common divisor equals their difference. Show that for any $n$, there exists a set $S$ of $n$ elements such that any two elements of $S$ are close.