CAT 2023 Slot 1 — QA Question 1
The number of all natural numbers up to 1000 with non-repeating digits is:
Answer & solution
- A
648
- B
585
738
- D
504
Easy
"Up to 1000" means to (the four-digit has a repeated ). Split by digit-length — 1-digit, 2-digit, 3-digit — and count each with the multiplication principle, taking care that a leading digit can never be .
1-digit numbers (–): every one trivially has non-repeating digits.
2-digit numbers : the tens digit avoids ; the units digit is any of the digits except the one already used.
3-digit numbers : hundreds avoids ( ways), tens is any digit except hundreds ( ways, since is now allowed), units is any digit except the two used ( ways).
Add the three buckets:
Watch the leading digit: the only difference between the tens place of a 2-digit number ( ways) and the tens place of a 3-digit number ( ways too) is which digit is banned — in the 2-digit case it's , in the 3-digit case it's the hundreds digit. Same count, different reason.