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?
- A. 10
- B. 8
- C. 12
- 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
- How many distinct Hamiltonian cycles does the complete graph K₇ contain (a cycle and its reverse are the same, and rotations are the same)?
- How many of the 32 assignments to a, b, c, d, e satisfy (a ∨ b) ∧ (¬a ∨ c) ∧ (¬b ∨ ¬c) ∧ (c ∨ d) ∧ (¬d ∨ e ∨ a)?
- How many elements of order 4 does the group Z₄ × Z₄ have?
- How many labelled trees on the vertex set {1, …, 6} have exactly 2 leaves (that is, are paths)?
- How many distinct necklaces of 6 beads can be made with 3 colours when only rotations are considered equivalent (reflections are different)?
- How many labelled trees on the vertices 1, …, 7 have vertex 1 of degree exactly 3?