Find the coefficient of $x^{25}$ in $(1+x^3+x^8)^{10}$ using ordinary generating functions?
Could someone help me figure out this problem using generating functions? My initial thought was to using a substituting variable (like $y=x^3$ and substituting accordingly), but I couldn't find a variable that would work. I would really appreciate some help! A detailed answer is always great! Thanks in advance!
I don't know how to use generating functions for this. You are looking for compositions of $25$ with up to $10$ parts of $8$ and $3$. You can use $25=8+8+3+3+3$, which is the only one. So now you want a series of $10$ items, with $5\ \ 0$'s, $3\ \ 3$'s, and $2\ \ 8$'s. How many is that?