How many times will the digit 7 be written when listing the integers from 1 to 1000?
A 110
B 111
C 271
D 300
E 304
Any shortcut to solving this
A 110
B 111
C 271
D 300
E 304
Any shortcut to solving this
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.
I don't understand the boldened part.ashis979 wrote:Sher 1,
Apologies the first explanation wasn't clear. I guess the best way to conceptualize/visualize this problem is to think of all the numbers as being three digits. There are no 7's in 1,000 so we can ignore it.
7 can the represented as 007, 70 as 070, 17 as 017, and so on...
So, for the numbers that will have one occurence of of the digit 7:
7XX, X7X, or XX7. If X was 0 the numbers presented are 700, 070 (70), and 007 (7). So let's peg 7 in the first position, that means there are 9 ways to pick the second digit (only 9 ways because you cannot pick 7=> remember, we only want numbers with one occurence of the digit 7. So your choices are 0,1,2,3,4,5,6,8,9). Similarly, there are 9 ways to pick the third digit. Therefore, with 7 pegged in the first position, you can pick the remaining two digits in 9*9=81 ways. That is a total of 81 numbers where the digit 7 will occur once. BUT, since that 7 we pegged can be in the first position, the second position, and the third position, the total number of possibilities is in fact 3*9*9=243. I hope this is making sense.
For the numbers that will have two occurences of of the digit 7:
77X, X77, 7X7. If X was 0 the numbers presented are 770, 077 (77), and 707. As I did above, if you peg the positions of the two 7's you will have 9 ways to pick the third digit (again, here also just the numbers 0,1,2,3,4,5,6,8,9 because we only want numbers where the digit 7 occurs twice). So that means 9 different numbers. BUT since the third digit can be in the first position, the second position, and the third position, the total number of possibilities is in fact 3*9=27. Now, don't forget the last step. All of these 27 numbers have 2 7's in them. Therefore, the total number of occurences is actually 2*27=54.
And for the last case where we need a number between 1-1,000 where there are three 7's, there is only one number: 777. So, that is a total of 3 occurences of the digit 7.
Therefore, putting it all together, the total number of occurences (that's what the question is asking for, occurences NOT numbers) = 243+54+3=300.
I hope this makes sense now. Let me know if still unclear.
The question is asking how many 7's would appear if you'd written out all the integers from 1 to 1000. (It's not asking for the number of integers that contain a 7.)I don't understand the boldened part.
Even if there are two sevens do we get two different numbers by inter changing them.
If not then what is the point of multiplying them with number 2.
can someone explain?
thanks David.DavidG@VeritasPrep wrote:The question is asking how many 7's would appear if you'd written out all the integers from 1 to 1000. (It's not asking for the number of integers that contain a 7.)I don't understand the boldened part.
Even if there are two sevens do we get two different numbers by inter changing them.
If not then what is the point of multiplying them with number 2.
can someone explain?
Take a simpler example. Say we just wanted to count the number of 7's contained in the range from 770 to 774 inclusive. Clearly there are 5 integers in the range - 770, 771, 772, 773, 774 - but each of these integers contains two 7's, so if we wanted the number of 7's contained in this range, we'd have to multiply the number of integers, 5, by 2.
To make the math easier, consider the following set:Sher1 wrote:How many times will the digit 7 be written when listing the integers from 1 to 1000?
A 110
B 111
C 271
D 300
E 304
Why did u assume that each will appear the same number of times within 999.Of the 10 digits 0-9, each will appear the SAME NUMBER OF TIMES.
Consider "1".Mechmeera wrote:Why did u assume that each will appear the same number of times within 999.Of the 10 digits 0-9, each will appear the SAME NUMBER OF TIMES.
Here's one way to look at it.Sher1 wrote:How many times will the digit 7 be written when listing the integers from 1 to 1000?
A 110
B 111
C 271
D 300
E 304
New here Create free account