I'm trying to learn mathematical induction.
The text asks for being totally rigorous i.e start induction from $k=0$.
I want to prove that $$\sum_{i=0}^{n-1} (2i+1)=n^2,$$ i.e. the sum of the first $n$ odd natural numbers is $n^2$ -- without using the convention that the empty sum is $0$.
How can I rewrite this so I can start the induction from $k=0\,$?
If I understand your question, try replacing $n$ by $(n+1)$ in your formula $$\sum_{i=0}^{n} (2i+1)=(n+1)^2\qquad\text{(1)}$$ Then if $n$ equals som number $k$ we have $$ \sum_{i=0}^{k} (2i+1)=(k+1)^2\qquad\text{(2)} $$ By testing equation $(2)$ for $k=0$ $$\sum_{i=0}^{0} (2i+1)=(0+1)^2\implies1=1$$ we assume that equation $(1)$ holds for $n=k$ and proceed (by induction) with $n=(k+1)$. Equation $(1)$ then becomes $$\sum_{i=0}^{k+1} (2i+1)=(k+2)^2\qquad\text{(3)}$$ The sum on the left side of $(3)$ is the same as $\sum_{i=0}^{k} (2i+1)+\text{(the next term)}$. Equation $(3)$ then becomes $$\Big(\sum_{i=0}^{k} (2i+1)\Big)+2(k+1)+1=(k+2)^2\qquad\text{(4)}$$ From our result in equation $(2)$ we have \begin{eqnarray} (k+1)^2+2(k+1)+1&=&(k+2)^2\\ k^2+2k+1+2k+3&=&(k+2)^2\\ k^2+4k+4&=&(k+2)^2\\ (k+2)^2&=&(k+2)^2 \end{eqnarray} Hence $$\sum_{i=0}^{n-1} (2i+1)=n^2$$ poved by induction.