The digit 7 appears in how many of the first thousand positive integers?

This topic has expert replies
Source: — Problem Solving |

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 3008
Joined: Mon Aug 22, 2016 6:19 am
Location: Grand Central / New York
Thanked: 470 times
Followed by:34 members
VJesus12 wrote:
Wed Jun 24, 2020 5:38 am
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271

[spoiler]OA=E[/spoiler]

Source: GMAT Prep
Let's calculate how many integers from 1-99 are there in which '7' appears at least once.

The integers in which '7' appears in units' place: 7, 17, 27, ..., 97: So there 10 numbers;
The integers in which '7' appears in tens' place: 70, 71, ... 79: So there 10 numbers

But, note that '77' is counted double.

So, from 1-99 are there are 10 + 10 – 1 = 19 integers in which '7' appears.

Same goes for 100-199; 200-299; 300-399, ..., and 900-999.

Total such integers = 19*10 = 190;

But this is an incomplete count. From 701-799, there are 100 – 19 = 81 integers that were not counted.

So, the required integers = 190 + 81 = 271.

Correct answer: E

Hope this helps!

-Jay
_________________
Manhattan Review GMAT Prep

Locations: Manhattan LSAT | SAT Practice Questions | GMAT Practice Test | GRE Info | and many more...

Schedule your free consultation with an experienced GMAT Prep Advisor! Click here.

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 8086
Joined: Sat Apr 25, 2015 10:56 am
Location: Los Angeles, CA
Thanked: 43 times
Followed by:29 members
VJesus12 wrote:
Wed Jun 24, 2020 5:38 am
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271

[spoiler]OA=E[/spoiler]

Source: GMAT Prep
Solution:

In each of the hundreds (i.e., 1-99, 100s, 200s, etc.) of the first 1000 positive integers, except for the 700s, the digit 7 appears in 19 integers, either as the units digit or the tens digit or both. In the 700s, 7 appears in every integer; therefore, the total number of integers that has (at least) one digit of 7 is:

9 x 19 + 100 = 171 + 100 = 271

Answer: E

Scott Woodbury-Stewart
Founder and CEO
[email protected]

Image

See why Target Test Prep is rated 5 out of 5 stars on BEAT the GMAT. Read our reviews

ImageImage