# Method of Proof

Computer Science Level pending

Prove that $$1+r+r^{2}+...+r^{n-1}=\frac{r^{n}-1}{r-1}$$, $$r$$ a positive integer,$$r\neq 1$$!

If true, write 1 and if false write 0

×