We need to calculate upper bound of this series summation.S = $1^{k} + 2^{k} + 3^{k} + ------ + n^{k}$.
for k = 1 S = $\large \frac{n*(n+1)}{2} = O\left ( n^{2} \right )$
for k = 2 S = $\large \frac{n*(n+1)(2*n+1)}{6} = O\left ( n^{3} \right )$
for k = 3 S = $\large \left ( \frac{n*(n+1)}{2} \right )^{2} = O\left ( n^{4} \right )$
--------------------------------------------------------
In this question ans should be = $\large O\left ( n^{k+1} \right )$