How to prove that
$$\large\lim_{x\to\infty}\sum_{n=1}^x x\log\left(1+\frac1{xn(an+ 1)}\right)= H_{\frac1a}, \quad a\in \mathbb{R},\ |a|>1$$
This question is a formulated form of this problem.
where $H_r=\int_0^1\frac{1-z^r}{1-z}\ dz$ is the harmonic number.
Any idea how to prove this identity?
I tried to convert the log to integral but was not helpful, also I used the series expansion for the log and I got
$$\lim_{x\to\infty}\sum_{n=1}^x x\log\left(1+\frac1{xn(an+ 1)}\right)=\lim_{x\to\infty}\sum_{n=1}^x\sum_{k=1}^\infty \frac{(-1)^{k-1}}{x^{k-1}k\ n^k(2n-1)^k}$$ and I have no idea how to continue with this double sum. Any help would be much appreciated.
We can use Tannery's theorem to take the limit of the summand, since it exists and also it is uniformly bounded,
$$x\log(1+\frac{1}{xn(an+b)})<\frac{1}{n(an+b)}$$
and since $\sum_{n=1}^{\infty}\frac{1}{n(an+b)}<\int_{1}^{\infty}\frac{dx}{x(ax+b)}=\frac{1}{b}\log(1+\frac{b}{a})$ exists and is finite,
then we compute that
$$\lim_{x\to\infty}\sum_{n=1}^xx\log\Big(1+\frac{1}{xn(an+b)}\Big)=\sum_{n=1}^{\infty}\frac{1}{n(an+b)}=\frac{1}{b}(\psi(\frac{b}{a}+1)+\gamma)=\frac{1}{b}H_{\frac{b}{a}}$$
where $\psi$ is the digamma function.
Here we used the series representation of the digamma function
$$\psi(z+1)=-\gamma+\sum_{n=1}^{\infty}\frac{z}{n(n+z)}$$