How many times will the digit 7

This topic has expert replies
User avatar
Master | Next Rank: 500 Posts
Posts: 216
Joined: Sun Jul 31, 2016 9:55 pm
Location: Punjab
Thanked: 31 times
Followed by:7 members

How many times will the digit 7

by fiza gupta » Mon Jan 02, 2017 10:29 pm
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

OA:D
Fiza Gupta

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 16207
Joined: Mon Dec 08, 2008 6:26 pm
Location: Vancouver, BC
Thanked: 5254 times
Followed by:1268 members
GMAT Score:770

by Brent@GMATPrepNow » Mon Jan 02, 2017 11:01 pm
fiza gupta 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

OA:D
Here's one way to look at it.
Write all of the numbers as 3-digit numbers.
That is, 000, 001, 002, 003, .... 998, 999

NOTE: Yes, I have started at 000 and ended at 999, even though though the question asks us to look at the numbers from 1 to 1000. HOWEVER, notice that 000 and 1000 do not have any 7's so the outcome will be the same.

First, there are 1000 integers from 000 to 999
There are 3 digits in each integer.
So, there is a TOTAL of 3000 individual digit. (since 1000 x 3 = 3000)

Each of the 10 digits is equally represented, so the 7 will account for 1/10 of all digits.

1/10 of 3000 = 300

So, there are 300 0's, 300 1's, 300 2's, 300 3's, . . ., and 300 9's in the integers from 000 to 999

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image

GMAT/MBA Expert

User avatar
Elite Legendary Member
Posts: 10392
Joined: Sun Jun 23, 2013 6:38 pm
Location: Palo Alto, CA
Thanked: 2867 times
Followed by:511 members
GMAT Score:800

by [email protected] » Tue Jan 03, 2017 11:04 am
Hi fiza gupta,

There are a couple of different way to conceive of this question, and each has its own 'organization' to it, so you should try to think in whatever terms are easiest for you.

To start, it shouldn't be hard to figure out how many 3-DIGIT numbers will START with 7... 700 to 799 inclusive... so that's 100 appearances of a 7 right there.

Next, you might find it easiest to think about the UNITs DIGIT. Consider the following pattern...
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
etc

Notice how 1 out of every 10 numbers has a unit's digit of 7? That pattern repeats over-and-over. Since we have 1000 total consecutive integers in our list, 1/10 of them will have a unit's digit of 7... (1000)(1/10) = 100 appears of a 7...

Now, think about what you've seen so far... a group of 100 and another group of 100. I wonder what will happen when we deal with the TENS DIGITS...
10 20 30 40 50 60 70 80 90 100
__ 71 72 73 74 75 76 7_ 78 79 80

In the first 100 integers, there are 10 additional 7s in the TENS 'spot' (I removed 70 and the units digit 7 from 77 since I already counted those). There are 10 sets of 100 to consider, so there are (10)(10) = 100 additional 7s...

Total = 100 + 100 + 100 = 300

Final Answer: D

GMAT assassins aren't born, they're made,
Rich
Contact Rich at [email protected]
Image