$k$ different dice are thrown. Find generating function for number of ways the sum of dice numbers can be maximum $n$.
My approach is this:
$x_1+x_2+...+x_k \leq n$ so that $1 \leq x_i\leq 6$
Next, I want $x$ to be $0 \leq x_i\leq 5$, and I will have equation:
$x_1+x_2+...+x_k \leq n - k$
I know how to solve the problem if $x_1+x_2+...+x_k = n - k$, but I do not know how to solve if it is $\leq$. Is my approach okay?