Problem

Source: 2019 Saudi Arabia JBMO Training Test 9 p3

Tags: combinatorics, Digits



Let $6$ pairwise different digits are given and all of them are different from $0$. Prove that there exist $2$ six-digit integers, such that their difference is equal to $9$ and each of them contains all given $6$ digits.