I have seen many questions talking about closed-form formulas for, say, $\sin(a)+\sin(a+d)+\sin(a+2d)+\dots+\sin(a+[n-1]d)$, however my question is dealing with each of those terms being squared, which seems to make it harder for me. I have tried going the complex number route, in other words turning the sum into taking the imaginary part of a sum with e, but the algebra just explodes. Would anyone be able to "lead me down the right path"?
Any help is greatly appreciated!