I was trying to prove if it's true that $\sum_{n=0}^{\infty} e^{-\pi n^2} \left(1 - 4\pi n^2\right) (-1)^{\frac{1}{2} n(n+1)} = \frac{3}{2}$, an "identity" I found online.
The sum of the first $10$ terms with Mathematica is $1.499999999882174822912079...$, so obviously the identity is not true, but I would still try to find a closed form expression.
If I just consider $\sum_{n=0}^{\infty} e^{-\pi n^2} \left(1 - 4\pi n^2\right)$, is quite simple to show that, with the use of theta functions and this answer Proving $\sum_{n=-\infty}^\infty n^2e^{-\pi n^2}=\frac{\Gamma (1/4)}{4\sqrt{2}\pi^{7/4}}$, the sum reduces to
$1 + \frac{\theta_3(0,e^{-\pi})-1}{2} -4\pi \frac{\theta_3''(0,e^{-\pi})}{2} = 1 + \frac{\theta_3(0,e^{-\pi})-1}{2} -\frac{\theta_3(0,e^{-\pi})}{2}=\frac{1}{2}$
and this suffice to prove that the "identity" cannot be true.
So I expect that a closed form for the twice alternating sum can be expressed as a linear combination of $\theta_3(0,e^{-p\pi}),\theta_4(0,e^{-q\pi}) $ and their second derivatives, with $\{p,q\}$ positive integers.
How can it be done?