The exact question is- Find the real value(s) of $a (a \ne -1)$ for which the limit $$ \lim_{ n \to \infty} \frac{ 1^a+2^a\cdots+n^a}{(n+1)^{a-1}[ (na+1)+(na+2) \cdots+(na+n)]} = \frac{1}{60}$$
I simplified it a bit to get that limit. However, I got the answer from Wolfram Alpha $\frac{1}{a+1}$ without a solution and an assumption that $|a|<1$ however the answer that I got on further solving (and given) is $a=7$ and $a=-\frac{17}{2}$
How is it solved?