You can just leave $q$ as an indeterminate; note that the expression is $$ q^0+q^1+\dots+q^n $$ and this means that, for $n=0$, it is just $q^0=1$. So the base step is true.

Recommended for you

You may also like