Mathematics (JEE)HardGATE CS
In how many ways can 10 be written as an ordered sum of parts, each part equal to 1 or 3?
- A. 28
- B. 34
- C. 21
- D. 55
Correct answer: A. 28
Let c(n) count such sums; the last part is 1 or 3, so c(n) = c(n−1) + c(n−3) with c(0) = c(1) = c(2) = 1, and c(10) = 28. Option 34 comes from a shifted starting value.
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 12 be written as an ordered sum of parts, each part equal to 2 or 3?
- 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?