Comparision asymptotic notation

34 Views Asked by At

I can get the result of an asymptotic two expressions by using limit or definitions of Big-Oh. However, I cannot express the following one in terms of $n$.

$$\sum_{i=1}^{n} i^k$$

I want to compare it with $n^{k+1}$.

1

There are 1 best solutions below

0
On

HINT

Recall that by Faulhaber's formula

$$\sum_{i=1}^n i^{k} = \frac{n^{k+1}}{k+1}+O(n^k)$$