Problem

Source: Danube 2018 junior p1

Tags: number theory, Divisors, Composite



Find all the pairs $(n, m)$ of positive integers which fulfil simultaneously the conditions: i) the number $n$ is composite; ii) if the numbers $d_1, d_2, ..., d_k, k \in N^*$ are all the proper divisors of $n$, then the numbers $d_1 + 1, d_2 + 1, . . . , d_k + 1$ are all the proper divisors of $m$.