Skip to main content
1 of 2

Number of A Subset of Monomials

I need to count the number of monomials of degree $n$ in $k$ variables that contain at least one variable with a power of 1, for example $x_1x_2^2x_3x_4^6$.