$\sum^{n-1}_{k=0} a^k = a^{n-1}+a^{n-2}+\dots+a+1= \frac{1-a^n}{1-a}$. This is only 1 if $a=0$ or $n=1$. The conditions of the bigger problem show these conditions are not accurate. Thus in valid conditions, it is not equal to 1.
$\sum^{n-1}_{k=0} a^k = a^{n-1}+a^{n-2}+\dots+a+1= \frac{1-a^n}{1-a}$. This is only 1 if $a=0$ or $n=1$. The conditions of the bigger problem show these conditions are not accurate. Thus in valid conditions, it is not equal to 1.