What does the auctor mean when he says that he gets rid of $x^{12}$ in the following context ?
(...) For example,consider distributing $23$ toys among $6$ children such that no child gets more than $5$ or less than $2$ toys. Each child contributes a generating function of $ x^2 +x^3 +x^4 +x^5 $ , so the overall generating function is $$ ( x^2 +x^3 +x^4+x^5)^6 =x^{12} (1+x+x^2+x^3)^6 $$.
Using geometric series identities we have that the sum $ 1+x+x^2+x^3$ is equal to $ (1-x^4)/(1-x) $ , so our generating function is $ x^{12} (1-x^4)^6(1-x)^{-6} $. We get rid of the $ x^{12} $ by noting that the coefficient of $x^{23}$ in $ x^{12}(1-x^4)^6(1-x)^{-6}$ is the same as the coefficient of $x^{11}$ in $ (1-x^4)^6(1-x)^{-6} $ .
Then the author writes up the Binomial form of the expression.
The author is being a litte disingenuous. He doesn't really mean "get rid of the $x^{12}$", he means "we can disregard the factor $x^{12}$ in what we do next". What's of interest here is the value of the co-efficient of $x^{23}$ and he notes that that's the same as the co-efficient of $x^{11}$ (because the $x^{12}$ just increases the size of the powers of $x$ by 12, loosely speaking, without changing the co-efficients). So he can ignore the factor $x^{12}$ and write the rest as a binomial, and then at the end (for completeness) could bring the $x^{12}$ back in. This way solves him some writing.