Take a function $f$ defined as follows with $H_n$ referring to Harmonic number
$$f(s,n)=\frac{1}{H_n}\sum_{i=1}^n \left(1-\frac{1}{i}\right)^s\frac{1}{i}$$
Suppose $g(\epsilon,n)$ is the inverse of this function, ie $f(g(\epsilon,n),n)=\epsilon$. I'm interested in behavior of $g(\epsilon,n)$ for fixed small $\epsilon>0$ as $n\to \infty$.
Plotting various values, it seems $g(10^{-6},n)\lesssim 10n$. Can someone see a way to explain this analytically?
Edit following Sal's suggestion, problem above can be rewritten as integral for large $n$, and the inverse in $s$ seems to grow (sub)linearly as well
$$f(s,n)\approx \frac{1}{\log n}\int_{i=1}^n \left(1-\frac{1}{i}\right)^{s} \frac{1}{i}$$
Edit Trying to match Katsurda approximate expression, it seems to give good results for x<25 after which it diverges rapidly
$$\sum_{j=2}^\infty \frac{(-x)^j}{j!}\zeta(j) \approx x(\log x + 2 \gamma -1)$$
After differentiating expression I get
$$\sum_{j=1}^\infty -\frac{(-x)^j}{j!} \approx \log x+2\gamma$$