Question
Question: If the number of terms in the expansion of $\left(2+\frac{1}{x}+\frac{1}{x^2}\right)^n$ is 13, then ...
If the number of terms in the expansion of (2+x1+x21)n is 13, then the sum of the coefficients is equal to

4096
4096
Solution
To find the sum of the coefficients, we first need to determine the value of n.
1. Determine the number of terms in the expansion: The given expression is (2+x1+x21)n. Let's consider the general term in the expansion of (a+b+c)n. It is given by r1!r2!r3!n!ar1br2cr3, where r1+r2+r3=n and r1,r2,r3≥0. In this problem, a=2, b=x1=x−1, and c=x21=x−2. Substituting these values, the general term becomes: r1!r2!r3!n!(2)r1(x−1)r2(x−2)r3=r1!r2!r3!n!2r1x−r2x−2r3=(r1!r2!r3!n!2r1)x−(r2+2r3) The distinct terms in the expansion depend on the distinct powers of x. Let P=r2+2r3. We need to find the range of possible values for P. Since r1,r2,r3 are non-negative integers and r1+r2+r3=n:
- Minimum value of P: This occurs when r2=0 and r3=0. In this case, P=0+2(0)=0. This corresponds to r1=n, giving the term 2nx0.
- Maximum value of P: This occurs when r2 and r3 are maximized, meaning r1 is minimized (i.e., r1=0). If r1=0, then r2+r3=n. To maximize r2+2r3, we should maximize r3. So, set r2=0 and r3=n. In this case, P=0+2(n)=2n. This corresponds to the term (1/x2)n=x−2n.
Now, we need to check if all integer powers between 0 and 2n can be formed. Let k be an integer such that 0≤k≤2n. We need to show that there exist non-negative integers r2,r3 such that r2+2r3=k and r2+r3≤n.
- If k is even: Let k=2m. Choose r2=0,r3=m. Then r2+2r3=2m=k. For this to be valid, we need r2+r3≤n, which means 0+m≤n, or m≤n. Since k≤2n, we have 2m≤2n, so m≤n. Thus, all even powers from 0 to 2n are possible.
- If k is odd: Let k=2m+1. Choose r2=1,r3=m. Then r2+2r3=1+2m=k. For this to be valid, we need r2+r3≤n, which means 1+m≤n. Since k≤2n, we have 2m+1≤2n, which implies 2m≤2n−1, so m≤n−1/2. Thus m≤n−1. Therefore, 1+m≤1+(n−1)=n. Thus, all odd powers from 1 to 2n−1 are possible.
Combining both cases, all integer powers of x from x0 to x−2n are possible. The number of distinct powers of x is (2n−0)+1=2n+1. Therefore, the number of terms in the expansion is 2n+1.
We are given that the number of terms is 13. So, 2n+1=13 2n=12 n=6
2. Calculate the sum of the coefficients: To find the sum of the coefficients of a polynomial expression, we substitute all variables with 1. For the expression (2+x1+x21)n, the sum of the coefficients is obtained by setting x=1. Sum of coefficients =(2+11+121)n Sum of coefficients =(2+1+1)n Sum of coefficients =(4)n
Since we found n=6: Sum of coefficients =46 46=(22)6=212=4096.