This question comes from curiosity. I know that, in general:
$$\lim_{n\to\infty}\frac1n\sum_{k=0}^n f(k/n)=\int_0^1 f(x)\,\mathrm dx\tag1$$
Then I have this expression
$$\lim_{n\to\infty}\frac1{n^2}\sum_{k=1}^nk^{1+\frac1k}\tag2$$
I know, by other methods, that the value of $(2)$ is $1/2$, but Im interested to know if its possible (or someone know how) to transform this Riemann-sum-like in an integral of Riemann for some appropriated $f$.
Indeed Im interested too to know some reference about this topic (if it exists).