Mathematics (JEE)HardCAT · MBA placement
In how many ways can 12 be written as an ordered sum of parts, each part equal to 2 or 3?
- A. 9
- B. 12
- C. 14
- D. 16
Correct answer: B. 12
The last part is 2 or 3, so c(n) = c(n−2) + c(n−3) with c(0) = 1, c(1) = 0, c(2) = 1, and the recurrence gives c(12) = 12. Option 9 is c(11), an off-by-one error.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- In how many ways can 8 be written as an ordered sum of positive integers, each at least 2?
- In how many ways can 9 be written as an ordered sum of odd positive integers?
- A 1 × 6 strip is tiled with single squares, which come in 2 colours, and 1 × 2 dominoes, which come in one colour only. How many tilings…
- In how many ways can a convex hexagon be triangulated by drawing non-crossing diagonals?
- How many lattice paths from (0, 0) to (5, 5) using unit steps right (R) and up (U) stay on or below the diagonal y = x?
- How many lattice paths from (0, 0) to (4, 2) using unit steps right (R) and up (U) never touch a point with y = x + 1?