\[A_{m,s}\left(q\right)=q^{\genfrac{(}{)}{0.0pt}{}{s-m}{2}+\genfrac{(}{)}{0.0pt}%
{}{s}{2}}\sum_{j=0}^{s}(-1)^{j}q^{\genfrac{(}{)}{0.0pt}{}{j}{2}}\genfrac{[}{]}%
{0.0pt}{}{m+1}{j}_{q}\frac{(1-q^{s-j})^{m}}{(1-q)^{m}}.\]