If z≠1z \neq 1z=1 and zn=1z^n = 1zn=1, find 1+z+z2+⋯+zn−11 + z + z^2 + \cdots + z^{n-1}1+z+z2+⋯+zn−1.
000
111
nnn
zzz