Problem

Source: Dutch IMO TST 2018 day 2 p2

Tags: number theory, divisor



Find all positive integers $n$, for which there exists a positive integer $k$ such that for every positive divisor $d$ of $n$, the number $d - k$ is also a (not necessarily positive) divisor of $n$.