We have to compare the coefficients of x7 and x13 in the expansion of (2x2+3x+4)10.
First recall the multinomial theorem, which states that for any positive integer n,
(a+b+c)n=∑k1+k2+k3=nk1!k2!k3!n!ak1bk2ck3.
Here we identify
a=2x2,b=3x,c=4,n=10.
So the general term after expansion is
k1!k2!k3!10!(2x2)k1(3x)k24k3,
where the exponents satisfy k1+k2+k3=10 with each ki≥0. This general term contributes
k1!k2!k3!10!2k13k24k3x2k1+k2.
Hence the power of x in any term is determined by
2k1+k2=r.
We shall solve this relation twice, once for r=7 and once for r=13.
Case 1: r=7. Setting 2k1+k2=7 with the additional condition k1+k2+k3=10, we write k1=t. Then
k2=7−2t,k3=10−t−(7−2t)=3+t.
Non-negative integers give the admissible values
t=0,1,2,3.
Consequently the four ordered triples are
(k1,k2,k3)=(0,7,3),(1,5,4),(2,3,5),(3,1,6).
Thus
a7=∑t=03k1!k2!k3!10!2k13k24k3.
Case 2: r=13. Now 2k1+k2=13. Put again k1=t; then
k2=13−2t,k3=10−t−(13−2t)=t−3.
We require k3≥0, so t≥3. Allowable integer values are
t=3,4,5,6.
This yields another set of four triples:
(k1,k2,k3)=(3,7,0),(4,5,1),(5,3,2),(6,1,3).
Therefore
a13=∑t=36k1!k2!k3!10!2k13k24k3.
Pairwise comparison of the two sets. Notice that each triple in the a13 list is obtained from the corresponding triple in the a7 list by the simple shift
(k1,k2,k3)⟶(k1+3,k2,k3−3).
Let us compare one matched pair. Take a triple (k1,k2,k3) from the a7 list and build the twin (k1+3,k2,k3−3) for a13. The ratio of their individual contributions is
(k1+3)!k2!(k3−3)!10!2k1+33k24k3−3k1!k2!k3!10!2k13k24k3=k1!k3!(k1+3)!(k3−3)!2k1+32k14k3−34k3.$
Now we simplify each factor:
• The factorial quotient is
k1!k3!(k1+3)!(k3−3)!=k3(k3−1)(k3−2)(k1+3)(k1+2)(k1+1).
Because for every triple in the a7 list we actually have k3=k1+3, the numerator and the denominator above are identical, giving this whole quotient the value 1.
• The powers of 2 contribute 2−3=1/8.
• The powers of 4 contribute 43=64.
Multiplying these three simplified factors we obtain
1×81×64=8.
This computation shows that each individual term present in a7 is exactly eight times the corresponding term in a13. Since both coefficients are sums of four such matched terms, the same factor 8 carries over to the entire sums. Therefore
a13a7=8.
So, the answer is 8.