I read this problem:
Fifty identical (six sided) dice are rolled. How many distinct outcomes with even numbers of $1$'s, $2$'s, $\ldots$ , $6$'s are possible? (For example: an outcome might be eight $1$'s, fourteen $2$'s, ten $3$'s, ten $4$'2, two $5$'s and six $6$'s).
This problem really triggered me, yet I am not that good in combinatorics. If it were to calculate just all the possible outcomes, it would be an easy calculation. But how to take into account the even request? Each number must occur in an even amount.
For $i\in\{1,\dots,6\}$, let $x_i$ be the number of times that value $i$ appears. You want to count solutions to \begin{align} \sum_{i=1}^6 x_i &= 50 \\ x_i &\in \{0,2,\dots, 50\} \end{align} Perform a change of variables $y_i=x_i/2$, yielding \begin{align} \sum_{i=1}^6 y_i &= 25 \\ y_i &\in \{0,1,\dots, 25\} \end{align} Now perform the "easy" calculation.