QlarIITy

MathematicsJEE Advanced 2015 · Paper 2Integer

The coefficient of x9x^{9} in the expansion of (1+x)(1+x2)(1+x3)…(1+x100)(1+x)(1+x^{2})(1+x^{3})\ldots(1+x^{100}) is

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. Each factor (1+xk)(1+x^{k}) contributes xkx^{k} at most once, so the coefficient of x9x^{9} counts the ways to write 9 as a sum of distinct positive integers.

Concept refresher. In the product ∏(1+xk)\prod(1+x^{k}), a term xnx^{n} comes from picking xkx^{k} from a set of factors with distinct kk whose sum is nn, and 11 from the rest. So the coefficient of xnx^{n} equals the number of partitions of nn into distinct positive parts (with every part available, here up to 100100).

Approach. List all ways to write 99 as a sum of distinct positive integers, grouped by the number of parts.

  1. Step 1: One part

    99 → 1 way.

  2. Step 2: Two distinct parts

    8+1, 7+2, 6+3, 5+48+1,\ 7+2,\ 6+3,\ 5+4 → 4 ways.

  3. Step 3: Three distinct parts

    6+2+1, 5+3+1, 4+3+26+2+1,\ 5+3+1,\ 4+3+2 → 3 ways.

  4. Step 4: Four or more parts

    The smallest sum of four distinct positive integers is 1+2+3+4=10>91+2+3+4=10>9, so there are none.

  5. Step 5: Total

    1+4+3=81+4+3=8

Answer. 8

Common slips

  • Missing 4+3+24+3+2 (or another three-part split) gives 77.
  • Allowing repeated parts such as 3+3+33+3+3 or 1+1+71+1+7 overcounts; each factor (1+xk)(1+x^{k}) can contribute only once.

Key takeaway

The trap. Allowing repeated parts such as 3+3+33+3+3 overcounts, and missing a three-part split such as 4+3+24+3+2 gives 7 instead of 8.

How toppers think. They list the splits by number of parts (99; 8+18+1, 7+27+2, 6+36+3, 5+45+4; 6+2+16+2+1, 5+3+15+3+1, 4+3+24+3+2) and stop at four parts because 1+2+3+4=10>91+2+3+4=10>9.

Remember. The coefficient of xnx^{n} in (1+x)(1+x2)(1+x3)…(1+x)(1+x^{2})(1+x^{3})\ldots is the number of partitions of nn into distinct parts; for n=9n=9 it is 8.

More on Binomial Expansion