OFFSET
4,3
COMMENTS
q-binomial coefficients are polynomials in q with integer coefficients.
LINKS
EXAMPLE
Row 5 of the triangle of q-binomial coefficients is [1, 1 + q + q^2 + q^3 + q^4, 1 + q + 2*q^2 + 2*q^3 + 2*q^4 + q^5 + q^6, 1 + q + 2*q^2 + 2*q^3 + 2*q^4 + q^5 + q^6, 1 + q + q^2 + q^3 + q^4, 1]. The largest coefficient is 2, and the second largest coefficient is 1. Hence A277218(5) = 2 and a(5) = 1.
MATHEMATICA
Table[(Union @@ Table[CoefficientList[FunctionExpand[QBinomial[n, k, q]], q], {k, 0, n}])[[-2]], {n, 4, 40}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Reshetnikov, Oct 07 2016
STATUS
approved