To determine the value of n in the expression:
(1+x)(1+x2)(1+x4)⋯(1+x128)=r=0∑nxr,
we analyze the structure of the left-hand side.
Step 1: Understanding the Product
Each factor in the product is of the form (1+x2k), where k ranges from 0 to 7, since:
20=1,21=2,2
Thus, the product is:
(1+x)(1+x2)(1+x
which contains 8 terms.
Step 2: Interpreting the Expansion
When you expand this product, each term in the expansion corresponds to a unique sum of distinct powers of 2. That is, each exponent r in the final sum is of the form:
r=a0⋅20+
where each ai∈{0,1}. This is exactly the binary representation of numbers from 0 to 28−1.
Hence, the expanded polynomial will contain all powers of x from x0 to x255, and no gaps—every integer exponent from 0 to 255 is present.
Step 3: Confirming the Maximum Exponent
The maximum exponent in the expansion is the sum:
1+2+4+8+16+32+64+128=255.
This confirms that the largest power of x is x255, and the sum is from r=0 to r=255.
Step 4: General Formula for Such Products
There is a well-known identity:
(1+x)(1+x2)(1+
Applying this to our case:
- The largest exponent in the product is 27=128, so n=7.
- Then, the product becomes:
1−x1−x28
which expands to:
1+x+x2+⋯+x255.
Hence, the sum is from x0 to x255, and the value of n is:
255.
Final Answer
B