Calculate the sum $\sum_{k=0}^{\infty} a^{\frac{k(k-1)}{2}}r^k$

49 Views Asked by At

How to calculate the sum of this geometric series?

$$\sum_{k=0}^{\infty} a^{\frac{k(k-1)}{2}}r^k, \text{ where}\; 0 \leq a \lt 1 \; \text{and}\;\; r \lt 1$$