Placement AptitudeVery hardProduct company OA · CAT level
How many six-digit numbers (100000 to 999999) have digits that add up to 27?
- A. 50412
- B. 55252
- C. 49852
- D. 45760
Correct answer: A. 50412
Count digit strings (leading zeros allowed) with each digit 0–9. Six digits summing to 27: C(32,5) − 6·C(22,5) + 15·C(12,5) = 201376 − 158004 + 11880 = 55252. Strings starting with 0 are five-digit strings summing to 27: C(31,4) − 5·C(21,4) + 10·C(11,4) = 31465 − 29925 + 3300 = 4840. Six-digit numbers: 55252 − 4840 = 50412. 55252 forgets that the first digit cannot be 0.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Eight books standing in positions 1 to 8 on a shelf are taken down and put back so that every book ends up either in its original position…
- How many 5-digit numbers divisible by 3 can be formed from the digits 0, 1, 2, 3, 4, 5 if no digit is repeated?
- In how many arrangements of the letters of BALLOON are neither the two L's together nor the two O's together?
- Three fair dice are rolled. What is the probability that the product of the three numbers is divisible by 4?
- How many solutions does x + y + z + w = 20 have in positive ODD integers x, y, z, w?
- 6 men and 4 women sit around a round table. In how many ways can they sit so that no two women are next to each other? (Rotations of a…