Mathematics (JEE)HardCodeforces Div2 D

How many partitions of 40 into distinct positive parts exist? (Two partitions are the same if they differ only in the order of parts.)

  1. A. 37338
  2. B. 1260
  3. C. 1113
  4. D. 982

Correct answer: C. 1113

Each part size may be used at most once, and a 0/1 subset count gives 1113 partitions of 40 into distinct parts.

More Permutations, Combinations and Probability questions

Exams that ask this topic