これもq-二項係数の言葉で説明できたりしますかね?

https://yukicoder.me/problems/no/986