The number of natural numbers less than 7000 which can be formed by using the digits 0, 1, 3, 7, 9 (repetition of digits allowed) is equal to:
- Option A: 375
- Option B: 250
- Option C: 374
- Option D: 372
Solution
Core idea. Numbers below a bound are counted by their number of digits.
Concept refresher. With repetition allowed, places can be filled from digits in
ways, and separate cases are added.
Picture the situation. A natural number below 7000 has at most four digits. With one, two or three digits it is certainly below 7000, and only the first digit is restricted, since it cannot be 0. With four digits the first digit must be 1 or 3, because 7 and 9 would make the number too large.
Approach. Count the numbers by their number of digits and add the cases.
Step 1: Up to three digits
The first digit is 1, 3, 7 or 9 and every other digit is any of the five, so there are numbers.
Step 2: Four digits
The first digit is 1 or 3 and the other three digits are free: . The total is .
Answer. (C) 374
Sanity check. Strings of four digits from the five, with a first digit of 0, 1 or 3, number ; they are the numbers from 0 up to those below 7000, so removing 0 leaves 374.
Why the other options are wrong
- (A) The value 375 includes 0, which is not a natural number.
- (B) The value 250 counts only the four-digit numbers.
- (D) The value 372 is two short: the four one-digit numbers 1, 3, 7 and 9 all count.
Key takeaway
The trap. Zero is a possible digit but not a natural number and not a first digit.
How toppers think. They check by counting four-place strings with leading zeros allowed.
Remember. with repetition