Mathematics (JEE)Moderate
How many six-digit numbers have their digits in non-decreasing order from left to right (for example 112237) and contain exactly two digits equal to 7?
- A. 330
- B. 339
- C. 321
- D. 210
Correct answer: A. 330
Non-decreasing digits with exactly two 7s: count sorted strings of length 6 over 0–9 with exactly two 7s and no leading zero. Enumerating gives 330.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- The letters A, A, B, B, C, C, D, D are arranged in a row in all distinct ways. How many arrangements have no two identical letters next to…
- Three cells are chosen from a 3 × 3 grid so that no two of them lie in the same row or the same column. How many ways are there to choose…
- Ordered triples (a, b, c) are chosen from {1, 2, …, 10} with a < b and c ≥ b. How many such triples are there?
- How many four-digit numbers are divisible by 3 and have every digit odd?
- How many functions f from {1, 2, 3, 4} to itself satisfy f(f(x)) = f(x) for every x?
- How many non-negative integer solutions does a + b + c + d = 8 have if a ≤ 2 and b ≤ 3?