I'm studying in the summer for calculus 2 in the fall and I'm reading about summation. I'm given these formulas: \begin{align*} \sum_{i=1}^n 1 &= n, \\ \sum_{i=1}^n i &= \frac{n(n+1)}{2},\\ \sum_{i=1}^n i^2 &= \frac{n(n+1)(2n+1)}{6},\\ \sum_{i=1}^n i^3 &=\left[ \frac{n(n+1)}{2}\right]^2. \end{align*}
But how do I come up with the right formula for exponents greater than 3?
You can obtain these formulae recursively. Look at this
$$n^5 = \sum_{k=1}^n \left( k^5 - (k-1)^5\right) $$
Expand the second term. Cancel the $k^5$ terms. Then apply the identities above. You can solve for $\sum_{k=1}^n k^4$. Continue in this fashion to get sums for higher powers.