Let $n$ be a natural number and $k$ the number of its divisors. Calculate $n-k$, then repeat this procedure by taking $n-k$ as the starting value. If you do this repeatedly, which numbers results in chains other than $2 \to 0$?
I found this problem in the exam prep questions my teacher gave us, so I assume there's a not-so-complicated solution. I tried some small values like $1, 3, 5, 7$ and they seem to give us different chains. However, I don't know how to go about proving that all other numbers beyond a point go to $2 \to 0$. I tried splitting the problem into cases where $n$ has $1, 2, 3,...$ prime factors but that lead nowhere. Any ideas would be appreciated.