How would I come to a general form of this type of summation, similar to
$$\sum_{i=1}^n i = \frac{n(n+1)}{2}$$ and $$\sum_{i=1}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$ ? I found this post about calculating higher powers of i, but am unsure if this would apply for negative powers as well: Feyman's trick for Discrete calculus?, as his formula: $$\sum_{n=0}^N n^{m+1} = \frac{N^{m+2}}{m+2}+N^{m+1}$$ results in dividing by 0 (zero) for m = -2. Also, How could I extrapolate for the more general form $$\sum_{i=1}^n \frac{1}{i^k}$$ where k is some constant? This is my first StackExchange post, so feel free to give me tips on how to improve my posts. Thank you.
Edit: I have now learned that there is no rational closed form expression of the Harmonic numbers, But can someone explain why, or simplify another proof explaining why?