An identity involving partitional generalized binomial coefficients