\sum_{i=n-k}^{n} { n \choose { i }} q^{ ( n - i ) }( 1 - q )^{i}( n - k + 1 )q^k