A geometric series is a+ar+ar2+…a + ar + ar^2 + \dotsa+ar+ar2+…
For r≠1r \neq 1r=1, prove that the sum of the first n n\,n terms of the series is