Mathematics (JEE)HardCAT · MBA placement
How many 5-digit numbers have digits that sum to exactly 5?
- A. 126
- B. 210
- C. 70
- D. 35
Correct answer: C. 70
Let the leading digit be a ≥ 1; substituting a' = a − 1 gives four free digits summing to 4 with the other digits: C(4 + 4, 4) = 70. Option 126 is C(9,4), which allows a leading zero.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A permutation of 1, 2, 3, 4 is chosen uniformly at random. What is the expected number of cycles in its cycle decomposition?
- Four men and four women are seated in a row in a random arrangement of the 8 distinct people. Men and women alternate, so that no two men…
- Three distinct numbers are chosen from {1, 2, …, 10}. How many of the choices have a sum that is divisible by 3?
- A uniformly random permutation of 1, 2, 3, 4, 5, 6 is chosen. Let an ascent be a position i with p(i) < p(i + 1). What is the expected…
- How many surjective functions are there from {1, 2, 3, 4, 5, 6} onto {a, b, c} in which 1 and 2 are sent to different elements?
- How many binary strings of length 8 consist of exactly three runs, where a run is a maximal block of equal consecutive digits?