GATE Computer ScienceHardGATE CSE · NIELIT

In how many ways can 10 be written as a sum of distinct positive integers, where the order of the terms does not matter?

  1. A. 10
  2. B. 8
  3. C. 12
  4. D. 14

Correct answer: A. 10

Counting partitions of 10 into distinct parts (10, 9+1, 8+2, 7+3, 7+2+1, 6+4, 6+3+1, 5+4+1, 5+3+2, 4+3+2+1) gives 10.

More Discrete Mathematics questions

Exams that ask this topic