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?

  1. A. 656
  2. B. 692
  3. C. 94
  4. 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.

More Permutations, Combinations and Probability questions

Exams that ask this topic