Problem

Source: 2023 Centroamerican and Caribbean Math Olympiad, P4

Tags: number theory



A four-digit number $n=\overline{a b c d}$, where $a, b, c$ and $d$ are digits, with $a \neq 0$, is said to be guanaco if the product $\overline{a b} \times \overline{c d}$ is a positive divisor of $n$. Find all guanaco numbers.