Find the coefficient of $x^6$ in $(2+2x+2x^2+2x^3+2x^4+x^5)^5$
I did this with a change of variables:
- $a = 2$
- $b = 2x$
- $ c = 2x^2$
- $ d = 2x^3$
- $e = 2x^4$
- $f = x^5$
And then I found out the ways I could get $x^6$ in the expansion of $(a+b+c+d+e+f)^5$
- $a^3bf \to \frac{5!}{3!}=20$
- $a^2c^3 \to \frac{5!}{2!3!}=10$
- $a^3d^2 \to \frac{5!}{2!3!}=10$
- $a^3ce \to \frac{5!}{3!}=20$
- $a^2bcd \to \frac{5!}{2!}=60$
- $a^2b^2e \to \frac{5!}{2!2!}=30$
Undoing the change of variables:
- $(2)^3(2x)(x^5)=16x^5=16(20)=320$
- $(2)^2(2x^2)^3=4(8)x^5=32(10)=320$
- $(2)^3(2x^3)^2 = 8(4)x^5 = 32(10) = 320$
- $(2)^3(2x^2)(2x^4) = 32(20) = 640$
- $(2)^2(2x)(2x^2)(2x^3) = 32(60)= 1920$
- $(2)^2(2x)^2(2x^4) = 32(30) = 960$
So the coefficient of $x^6$ would be $320+320+320+640+1920+960=4480$, but the correct answer is $6240$. Is there an easier way to do this problem?
Inside your list, you are missing
which after the change of variables gives you
and therefore $4480+640+960+160=6240$.