\displaystyle \theta(z)=1+\sum_{n=1}^{\infty}2q^{n^{2}}=1+2q+2q^{4}+2q^{9}+\ldots