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.)
- A. 37338
- B. 1260
- C. 1113
- 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.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many partitions of 50 have every part at most 5? (Order of parts is ignored.)
- How many partitions of 30 into exactly 4 positive parts exist? (Order of parts is ignored.)
- How many partitions of 60 into distinct odd parts exist? (Order of parts is ignored; each odd size may appear at most once.)
- How many ordered sequences (compositions) of positive integers with sum 15 use only the part sizes 2, 3 and 5? Sequences that differ in…
- How many partitions of 100 into distinct parts, each part at most 15? (Order of parts is ignored.)
- How many non-negative integer solutions (a, b, c, d) satisfy a + 2b + 3c + 4d = 40?