Suppose $z$ is a complex number, and consider the product
$$f_m(z)=\prod_{k=1}^m \left(z^k + \frac 1 {z^k} \right),$$
for $m = 1,2,\dots$ . Of course, one should be able to expand this into a sum of terms that are either powers of $z$ or of $1/z$. It is easy to see that the highest and lowest order terms will be $z^{1 + 2 + \cdots + m} = z^{\frac 1 2m(m+1)}$ and its reciprocal, respectively.
Here's the situation for low values of $m$:
$$\begin{split} f_1(z) = z &+ \frac 1 z \\ f_2(z) = z^3 + z &+ \frac 1 z + \frac 1 {z^3} \\ f_3(z) = z^6+z^4+z^2+\ &\color{red}2 + \frac 1 {z^2}+ \frac 1 {z^4} + \frac 1 {z^6} \\ f_4(z) = z^{10} + z^8 + z^6 + \color{red}2z^4 + \color{red}2z^2 +\ &\color{red}2 + \frac {\color{red}{2}} {z^2} + \frac {\color{red}2} {z^4} + \frac 1 {z^6} + \frac 1 {z^8} + \frac{1}{z^{10}} \\ f_5(z)=z^{15} + z^{13}+ z^{11} + \color{red}2z^{9} + \color{red}2z^7 + \color{orange}3z^5 + \color{orange}3z^3 + \color{orange}3z &+ \frac{\color{orange}3} z + \frac {\color{orange}3}{z^3} + \frac {\color{orange}3} {z^5} + \frac {\color{red}2} {z^7} + \frac {\color{red}2} {z^9} + \frac 1 {z^{11}} + \frac 1 {z^{13}} + \frac 1 {z^{15}} \end{split}$$
It seems that
- In each $f_m$ the exponent of $z$ falls from $\tau_m = \frac 1 2 m(m+1)$ down to $-\tau_m$, skipping every other value;
- For all $m$ the coefficient $a_{m,n}$ of the $n$-th term in the analytic part is equal to the coefficient $a_{m,-n}$ of the $n$-th term in the singular part (which makes sense intuitively).
So:
- Is there a closed-form expression for $a_{m,n}$?
- How can I prove fact 1. above?
Here is a proof for $1$. Suppose the monomial $z^n$ appears in the expanded expression. Then we may write $$ n=\sum_{k=1}^m(-1)^{e_k} k $$ where each $e_k$ is either $0$ or $1$. Let $P$ denote the indices for which $e_k=0$, i.e. the positive terms, and $N$ the indices for which $e_k=1$, i.e. the negative terms. Then $$ n=\sum_{k\in P}k-\sum_{j\in N}j. $$ We can add $0$ as such: $$ n=\sum_{k\in P}k+\sum_{j\in N}j-\sum_{j\in N}j-\sum_{j\in N}j, $$ and now rearrange to get $$ n=\sum_{k\in P\text{ or }N}k-2\sum_{j\in N}j $$ which gives $$ n=\tau_m-2\sum_{j\in N}j. $$ Thus we know that the exponent $n$ must be $\tau_m$ minus an even number, which restricts the possibilities to what you conjectured. To see that all of these are actually possible, consider what happens when $N=\{1\},\{2\},\dots,\{m\},\{1,m\},\{2,m\},\dots,\{m-1,m\}$, etc.
A closed form for $a_{m,n}$ is probably difficult. Here is an idea. If we multiply the entire product by $(z^m)^m$, we obtain $$ f_m(z)=\frac{1}{(z^{m})^m}\prod_{k=1}^m(z^{m+k}+z^{m-k}), $$ and now you are looking almost at partitions of $n$ into distinct parts, althought you add the additional restriction that precisely one of $m+k$ or $m-k$ is used.
Hope this helps.