Equivalent conditions for $f(n-o(f(n)))\sim f(n)$

43 Views Asked by At

I'm working with non decreasing functions $f:\mathbb{N}\rightarrow\mathbb{N}$ such that for any $g:\mathbb{N}\rightarrow\mathbb{N}$ nondecreasing with $$\frac{g(n)}{f(n)}\rightarrow0,$$ we have $$\frac{f(n-g(n))}{f(n)}\rightarrow1.$$ So it seems like any f which is bounded linearly has this property, but I'm struggling to find a sufficient condition. Does anyone know of a simpler way of expressing this condition?