Use mathematical induction to prove the following for the first $2n$ terms of the series $$1^2 - 3^2 + 5^2 - 7^2 + \cdots = -8n^2.$$
As we have odd numbers that are squared we could use $n = 2k-1$.
But the $2$ sides do not equate for $n=1$ or $2k-1$ (if you set $k=1$).
Also need to find the sum to $2n+1$ terms.
Here is the main part of the inductive step: \begin{align} \sum_{i=1}^{2(k+1)}(-1)^{i-1}(2i-1)^2&=\sum_{i=1}^{2k}(-1)^{i-1}(2i-1)^2+\underbrace{(-1)^{2k+1}(4k+3)^2}_{i=2k+2}+\underbrace{(-1)^{2k}(4k+1)^2}_{i=2k+1}\\[0.5em] &= -8k^2-(4k+3)^2+(4k+1)^2\\[0.5em] &= -8k^2-16k-8\\[0.5em] &= -8(k^2+2k+1)\\[0.5em] &= -8(k+1)^2. \end{align} Do you see where the induction hypothesis was used?