<math>(p^0, p^0+p^1, p^0+p^1+p^2, p^0+p^1+p^2+p^3, ...)</math> and is called a '''Geometric Series'''. <br>How to calculate this? Now, if we look at the n-th element of this sequence, we see: <ul><li><math>(p-1) \cdot (p^0 + p^1 + p^2 + ... + p^n) </math><li><math>=p^1 + p^2 + p^3 + ... + p^{n+1}</math><math> - p^0 - p^1 - p^2 - ... - p^n</math><li><math>=p^{n+1}-p^0</math><li><math>=p^{n+1}-1</math><li><math>\Leftrightarrow</math><li><math>p^0+p^1+p^2+...+p^n = \frac{p^{n+1}-1}{p-1}</math></ul>Obviously, the last step is allowed only if <math>p \neq 1 </math>. So, the sequence of partial sums is (if <math>p \neq 1 </math>):<br> | <math>(p^0, p^0+p^1, p^0+p^1+p^2, p^0+p^1+p^2+p^3, ...)</math> and is called a '''Geometric Series'''. <br>How to calculate this? Now, if we look at the n-th element of this sequence, we see: <ul><li><math>(p-1) \cdot (p^0 + p^1 + p^2 + ... + p^n) </math><li><math>=p^1 + p^2 + p^3 + ... + p^{n+1}</math><math> - p^0 - p^1 - p^2 - ... - p^n</math><li><math>=p^{n+1}-p^0</math><li><math>=p^{n+1}-1</math><li><math>\Leftrightarrow</math><li><math>p^0+p^1+p^2+...+p^n = \frac{p^{n+1}-1}{p-1}</math></ul>Obviously, the last step is allowed only if <math>p \neq 1 </math>. So, the sequence of partial sums is (if <math>p \neq 1 </math>):<br> |