Mathematics (JEE)HardICPC regional
How many partitions of 48 use only powers of 2 as parts (1, 2, 4, 8, 16, 32, ...) with repetition allowed?
- A. 656
- B. 692
- C. 94
- D. 3027
Correct answer: B. 692
Parts are restricted to powers of 2 up to 32 (64 exceeds 48), and the unbounded knapsack gives 692.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many compositions of 12 exist using only parts 1 and 2? Sequences that differ in order count as different.
- How many partitions of 24 have every part between 2 and 6 inclusive, with repeated parts allowed?
- How many distinct arrangements of the letters of MISSISSIPPI begin with I and end with S?
- How many distinct arrangements of the letters of BALLOON have both L's next to each other and both O's next to each other?
- How many distinct arrangements of the letters of PEPPER have all three P's next to each other?
- How many distinct arrangements of the letters of TOMATOES have no two vowels next to each other? (The vowels are O, A, O, E.)