How many times will the digit 7 be written when listing the integers from 1 to 1000?
1. 110
2. 111
3. 217
4. 300
5. 304
1. 110
2. 111
3. 217
4. 300
5. 304
BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course
Redeem
Scott Woodbury-Stewart’s private virtual classroom — 400 hours of master-class video lessons for the GMAT Focus Edition.
All the numbers (0,1,2,...9) will be appearing equal number of times. The numbers are :anuptvm wrote:How many times will the digit 7 be written when listing the integers from 1 to 1000?
1. 110
2. 111
3. 217
4. 300
5. 304
anuptvm wrote:Thanks Anshumishra. Is there another method using Permutations? What is a good general strategy for such problems?
Anshu's solution is more elegant.anuptvm wrote:Thanks Anshumishra. Is there another method using Permutations? What is a good general strategy for such problems?
Nice work stormier !stormier wrote:Anshu's solution is more elegant.anuptvm wrote:Thanks Anshumishra. Is there another method using Permutations? What is a good general strategy for such problems?
You could also solve the problem using permutations as follows
total count = count in single digit number (1-9) + count in two digit number(10-99) + count in 3 digit number(100-999)
count in single digit = 1
count in two digit = 7x + y7 = 1x10(because x can be any number from 0 to 9) + 9(y could be any number from 1 to 9)x1 = 10+9 = 19
count in 3 digit = 7ab + c7d + ef7 = 1x10x10 ( both a and b could be any of the numbers from 0 to 9) + 9x1x10 (c could be any number from 1 to 9, d could be any number from 0 to 9) + 9x10x1 (e could be 1 to 9, f could be from 0 to 9) = 100+90+90=280
Total count = 1+19+280 = 300
There are not 3000 digits from 1 - 1000. It should be 9 + 180 + 2700 + 4anshumishra wrote:All the numbers (0,1,2,...9) will be appearing equal number of times. The numbers are :anuptvm wrote:How many times will the digit 7 be written when listing the integers from 1 to 1000?
1. 110
2. 111
3. 217
4. 300
5. 304
000 001 002 ..... ..... 999
So, there are a total of 3*1000 digits.
Now the number of times 7 will appear (or in fact any number 0,1,2,...9) will appear is = 3*1000/10 = 300.
Answer is 4.
Here's another way to look at it.anuptvm wrote:How many times will the digit 7 be written when listing the integers from 1 to 1000?
A. 110
B. 111
C. 217
D. 300
E. 304
Anshumishra is treating each number from 0 to 999 as having leading zeros - a clever approach - so there are indeed 3000 digits to work with: 0 is 000, 1 is 001, etc.jeffreyut wrote:
There are not 3000 digits from 1 - 1000. It should be 9 + 180 + 2700 + 4
anuptvm wrote:How many times will the digit 7 be written when listing the integers from 1 to 1000?
1. 110
2. 111
3. 217
4. 300
5. 304
The digit 7 as the hundreds digit appears 100 times (700 to 799). As the tens digit, it appears 100 times also (ten times each in the 70s, 170s, 270s, ..., 970s). As the units digit, it appears 100 times also (7, 17, 27, ..., 997). Therefore, the digit 7 has appeared a total of 300 times.anuptvm wrote:How many times will the digit 7 be written when listing the integers from 1 to 1000?
1. 110
2. 111
3. 217
4. 300
5. 304



New here Create free account