Question: $$\sum_{n=1}^{\infty}\frac{\sin(n^2)}{n^2}=\,?$$
Previously I calculated a similar summation but it was more luck than wisdom, and insight led me to believe my methods were super incorrect (but gave some clue of how it should be done correctly because the answer was correct after all). $$\sum_{x=1}^{\infty} c^{-x^2}=\frac{\sqrt{\pi}}{2 \sqrt{\ln(c)}}-\frac{1}{2}+\frac{ \sqrt{\pi}}{\sqrt{\ln(c)}}\sum_{x=1}^{\infty}e^{-\frac{\pi^2 x^2}{\ln(c)}}.$$
So I wanted to try out a similar sum. I thought it might be common, however, I couldn't find it, and the quick estimated guess, gave a surprisingly large error, I still got to give it a try with my old incorrect method, but I wondered how to "alternatively/formally" derive the answer.
The estimate would be: $\sqrt{\pi/2}-1/2$ which is way to far off, yet the answer is surprisingly close to $\sqrt{\pi/8}$ with a small error, which confused me.
Question: How to calculate the summation, and what's the answer including the error term?