Placement AptitudeModerateHCL · Tech Mahindra pattern
How many solutions in integers does x + y + z = 12 have if each of x, y and z is at least 2?
- A. 45
- B. 91
- C. 28
- D. 55
Correct answer: C. 28
Put x = a + 2 and so on: a + b + c = 6 with a, b, c ≥ 0, giving 8C2 = 28. 55 = 11C2 is the count for x, y, z ≥ 1.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- A family has two children. It is known that at least one of them is a boy. What is the probability that both are boys? (Boy and girl…
- Machine A makes 60% of a factory's bolts and 2% of them are defective; machine B makes the remaining 40% and 3% of them are defective. A…
- All arrangements of the letters of MOTHER are written in dictionary order. What is the rank of the word MOTHER?
- In how many distinct ways can the letters of the word COMMITTEE be arranged?
- A fair die is thrown three times. What is the probability that the three numbers come out strictly increasing (first < second < third)?
- On a city grid you walk from (0, 0) to (6, 4), moving one block east or one block north at a time. How many shortest routes pass through…