User blog comment:Ynought/A question/@comment-35470197-20190602215451

You mean that \(f(n,m) = n + 10^{-m}\) is not what you want although it is computable by an algorithm, right? Then what kind of algorithm do you need?