TITLE: Sum of Gaussian binomial coefficients.
QUESTION [9 upvotes]: We all know that $\sum_{i=0}^{n}{n \choose i}=2^{n}$. Is there a similar result regarding the q-binomial coefficients? (a.k.a Gaussian binomial coefficients) - $\sum_{i=0}^{n}{n \choose i}_{q}=?$

REPLY [6 votes]: For Gaussian binomial coefficients we have
$$
\sum_{k = 0}^n  \binom nk_q = \sum_{m = 0}^\infty a_m q^m,
$$
where 
$$
a_m = \sum_{\lambda\vdash m} \#\{k\in \mathbf Z_{\geq 0}\mid \lambda_1\leq n-k, \lambda'_1\leq k\}.
$$
The notation $\lambda\vdash m$ signifies that $\lambda$ is an integer partition of $m$.
Also $\lambda_1$ is the first (largest) part of $\lambda$ and $\lambda'_1$ is the number of positive parts in $\lambda$.
This follows from the following well-known fact about Gaussian binomial coefficients:
$$
\binom nk_q = \sum_\lambda q^{|\lambda|}, 
$$
the sum being over all partitions $\lambda$ where $\lambda_1\leq n-k$ and $\lambda'_1\leq k$ (see, for example Stanley's Enumerative Combinatorics, vol. 1, or Eq. (4) in my expository article titled Counting subspaces in a Finite Vector Space).

REPLY [3 votes]: One more version - analog of $\sum_{i=0}^n(-1)^i\binom ni=0$:
$$
\sum_{i=0}^n(-1)^i\binom ni_q=\begin{cases}0,&n=2k-1\\
\prod_{j=1}^k(1-q^{2j-1}),&n=2k\end{cases}
$$