Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to know if there exists a closed formula for sum $A_n(X)=\sum \limits_{i=0}^n X^{i^2}$.
I have found if n$n$ is odd then $(X^n+1)\text{ | } A_n(X)$, but I don't have found a closed formula.
I have found if n is odd then $(X^n+1)\text{ | } A_n(X)$, but I don't have found a closed formula.
I have found if $n$ is odd then $(X^n+1)\text{ | } A_n(X)$, but I don't have found a closed formula.