I need to find the limit of a sequence indexed by $n\in \Bbb N$. $k$ is fixed natural constant.
The sequence is:
$x_n = \frac{1^k+2^k+3^k+\ldots+n^k}{n^k} - \frac{n}{k+1}$
I tried to solve this problem with Stolz–Cesàro theorem. But I can't find the limit.
While trying to code this equation on Python I've found the limit is about -0.5 from top $(-0.5+\epsilon)$