While studying a subject in mathematical physics and topology (which is not necessarily relevant to this question anyway), I bumped into the following sequence of tables, let's call them $M_0, M_1, M_2, M_3, M_4, \cdots$. (The table goes on, but it gets a little too big after $M_4$, so I could only write down one quarter of $M_5$.) These tables have some interesting patterns and symmetry, but a simple formula completely characterizing them is still missing. So the question is : what would be a simple (combinatorial) formula for $M_n$?
Let me briefly explain the meaning of the entries. Each entry of these matrices is a multiset of integers. I used exponent for multiplicity; e.g. $6,4^2,2^2,0,-6,-8,-10$ actually means $6,4,4,2,2,0,-6,-8,-10$.
Also in the last two tables overlined numbers $\overline{n}$ just mean $-n$. (I had to introduce this notation to save up space.)
Finally, let me list some of obvious patterns you can see :
- $M_n$ is $(n+1)$-by-$ (n+1)$, and its entries are all even/odd depending on the parity of $\frac{n(n+1)}{2}$.
- $M_n$ is symmetric under flipping along the diagonal.
- If you flip $M_n$ either vertically or horizontally, you get $-M_n$.
- Let's index rows and columns of $M_n$ by numbers $0, 1, \cdots, n$. Then the $(i,j)$-entry of $M_n$ is a multiset of size $\binom{n}{i}\binom{n}{j}$.
- The very outer entries have a very natural combinatorial description : $(M_n)_{0,j} = \{p(1)+\cdots+p(n) \mid p\in P^{(n)}_{2j-n}\}$ as a multiset where $P^{(n)}_{m}:=\{p : \{0, 1, \cdots, n\}\rightarrow \mathbb{Z} \mid p(0)=0, p(n)=m, |p(i)-p(i+1)|=1\}$; i.e. the set of discrete paths. In other words, $(M_n)_{0,j} = \{\pm 1 \pm 2 \cdots \pm n \mid \text{there are exactly }j\text{ number of pluses}\}$
- $(M_n)_{0,j}$ "divides" $(M_n)_{i,j}$ in a sense that $(M_n)_{i,j}$ can be expressed as a sumset of $(M_n)_{0,j}$ and some other set. For instance, for $n\geq 2$, $(M_n)_{1,1}=(M_n)_{0,1}+\{2n, 2n-2, \cdots, 6, 4, -2n\}$.
Hopefully, we can find a simple combinatorial formula for $M_n$ which makes all of the observations above manifest.
Added 9/5 :
I just realized that the pattern becomes so much clearer once you divide every column by the first column. From this I was able to figure out that if we represent each entry of the form $\{r_1, \cdots, r_k\}$ by the polynomial $q^{r_1/2}+\cdots+q^{r_k/2}$, $$(M_n)_{i,j} = q^{-\frac{n(n+1)}{4}}\cdot\left(\text{coefficient of }x^iy^j\text{ in }\prod_{k=1}^{n}{(1+q^k x)}\prod_{k=1}^{i}{(1+q^{k-n-1}y)}\prod_{k=i+1}^{n}{(1+q^k y)}\right)$$ This is nice, but still not completely satisfactory, as it doesn't seem quite clear from this formula that $(M_n)_{i,j}=(M_n)_{j,i}$. Hence my question becomes : Is there a nice symmetric formula for this?
We use q-binomial coefficients to obtain a symmetrical representation in $i$ and $j$ and particularly apply the following q-binomial identity with integral $n>0$: \begin{align*} \prod_{k=0}^{n-1}(1+q^kx)=\sum_{k=0}^nq^{\binom{k}{2}}\binom{n}{k}_qx^k\tag{1} \end{align*}
It is convenient to use the coefficient of operator $[x^k]$ to denote the coefficient of $x^k$ in a series. In the following we omit the factor $q^{-\frac{n(n+1)}{4}}$.
Comment:
In (3) we apply (1)
In (4) we select the coefficient of $x^i$.
Comment:
In (6) we apply (1) to each product
In (7) we select the coefficient of $y^j$ and apply the rule $[y^j]y^pA(y)=[y^{j-p}]A(y)$.
In (8) we select the coefficient of $y^{j-k}$.
Note: With respect to a comment from OP here is some material regarding $q$-binomials which was helpful for me.
The nice and gentle surveys
The q-binomial Theorem by Shaun Cooper
On the q-binomial coefficients and binomial congruences by Armin Straub
The thesis
A Tiling Interpretation of q-Binomial Coefficients by Jonathan Asoze
The classics
Integer Partitions by George E. Andrews and Kimmo Eriksson. This is the introductory text to integer partitions for beginners. $q$-related material starts with Chapter 7 Gaussian polynomials.
The Theory of Partitions by George E. Andrews. This is the introductory text to integer partitions. $q$-related material starts with Section 3.3 Properties of Gaussian polynomials.
A nice book about the development of $q$-calculus from a historical perspective is
The History of q-Calculus and a new method by Thomas Ernst