Define the following as a "simple" theta function
$$ \vartheta(q) = \sum_{n=0}^{\infty} q^{n^2} = 1 + q + q^4+q^9+ \ ...$$
Defined on the open unit circle on the complex plane. I'm trying to find a non trivial functional equation that this obeys, such that up to some "regularity" conditions the function is completely characterized by the its functional equation.
To make this concrete consider the analogous problem if we instead look at
$$ f(q) = q + q^2 + q^4 + q^8 + ... = \sum_{n=0}^{\infty} q^{2^n} $$
Then it's easy to see that
$$ f(q^2) - f(q) = - q $$
And any analytic function (this is the "regularity" condition mentioned above) obeying this functional equation such that $f(0)=0$ must necessarily be equal to the aforementioned series on the disk.
$$\sqrt{s} \theta_ 3(e^{-\pi s}) = \theta_3(e^{-\pi/s})$$
we have
$$\sum_{n=0}^\infty q^{n^2} = \sqrt{ \frac{\pi} {4 \log \left( \frac{1}{q} \right) } } \theta_3(e^{-\pi/s}) + \frac12.$$
– Brevan Ellefsen Mar 25 '19 at 17:58