Problem

Source: IMOC 2021 N2

Tags: number theory, smallest divisor



Show that for any two distinct odd primes $p, q$, there exists a positive integer $n$ such that $$\{d(n), d(n + 2) \} = \{p, q\}$$where $d(n)$ is the smallest prime factor of $n$. Proposed By - ltf0501