We prove $\sum_{i=1}^{n} x^3 = (1+2+\cdots+n)^2$. We observe that this expression is true for $ n=1$. Now assume this is already true; we prove it for $\sum_{i=1}^{n+1} x^3 = (1+2+\cdots+n+n+1)^2$. We note that the expression in the inside of the parentheses is equal to $\frac {(n+1)(n)}{2}$. But when we add an $n+1$ term, the inside is equal to$\frac{(n+1)(n)}{2} + n + 1$, or $\frac {(n+1)(n+2)}{2}$. QED
First of all, did I prove this correctly? Next, instead of just $x^3$ I can write $ x^n $ and it will still hold true. Isn't this a contradiction?