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$.
Problem
Source: 2018 Grand Duchy of Lithuania, Mathematical Contest p4 (Baltic Way TST)
Tags: number theory, divides, divisor