I have the following limit of a sum:
$$\lim\limits_{n \to \infty} \sum\limits_{k = 0}^n \dfrac{1}{qn+kp+1}$$
Where $p \in \mathbb{N} \setminus \{0, 1\}$ and $q > 0$.
I am trying to convert this limit into an integral by recognizing it as a Riemann sum. I'm fairly new to this concept of converting from limit to integral so I'm pretty lost. Anyway, this is what I tried:
$$\lim\limits_{n \to \infty} \sum\limits_{k = 0}^n \dfrac{1}{qn+kp+1} = \lim\limits_{n \to \infty} \dfrac{1}{n} \sum\limits_{k=0}^n \dfrac{1}{q+ p\frac{k}{n}+ \frac{1}{n}}$$
I am thinking of using this:
$$\int_a^b f(x) dx = \lim\limits_{n \to \infty} \sum_{k=1}^n f(a + k \cdot \Delta x) \cdot \Delta x$$
Where $\Delta x = \dfrac{b-a}{n}$. I think I would know how to do this if it wasn't for that $\dfrac{1}{n}$ term in the denominator of the sum's terms. If it wasn't for that $\dfrac{1}{n}$, I think the function I would have to use in the definite integral would be something like:
$$f(x) = \dfrac{1}{q+px}$$
But that $\dfrac{1}{n}$ really confuses me. What happens to it and how does that influence the final integral? And what is that integral? Also, if anyone knows of any resource from where I could learn more about this conversion of Riemann sum $\rightarrow$ definite integral (preferably with examples), I would really appreciate it if you could link me to those resources.