counting a 3 digit number greater than 700

This topic has expert replies
Master | Next Rank: 500 Posts
Posts: 137
Joined: Fri Nov 13, 2015 11:01 am
Thanked: 1 times
Followed by:2 members
Dear Pros,

Pls tell which part of my calculation is wrong in answering the following question:

Of the three digit integers greater than 700, how many have two digits that are equal to each other and the remaining digit different from the other two?

90
82
80
45
36

Here is how i approached the problem:

we will have three cases
s s d
s d s
d s s where s represents same and d represents different

for the first case (s s d) we start with the most restrictive digit, the first one. we will have 3 options for this digit, either 7, 8, or 9

as for the third digit, which is restrictive also and must be different from the first, we can't use 0 as the number must be greater than 700 and we can't use the number in the first digit, so we have 8 options. and for the middle digit we have only 1 option for it to be similar to the last digit. so for the first case we have 3x1x8 = 24 ways

for the second case (s d s) first digit will have 3 options, last has 1 option and the middle has 9 options, so we have 3x9x1 = 27 ways

for the last case (d s s ) first digit will have 3 options, last will have 8 as it must not include a zero nor the number used in the first digit, and the middle digit will have one option giving us 3x1x8 = 24

adding the three cases we get 24+27+24 = 75 different ways!

this answer is not even in the answer choices so I must have done something wrong.

pls enlighten me :)

User avatar
GMAT Instructor
Posts: 15539
Joined: Tue May 25, 2010 12:04 pm
Location: New York, NY
Thanked: 13060 times
Followed by:1906 members
GMAT Score:790

by GMATGuruNY » Tue Jan 05, 2016 4:55 am
Of the three-digit integers greater than 700, how many have two digits that are equal to each other and the remaining digit different from the other two?

(A) 90
(B) 82
(C) 80
(D) 45
(E) 36
Integers with exactly 2 digits the same = Total integers - Integers with all 3 digits the same - Integers with all 3 digits different.

Total integers:
To count consecutive integers, use the following formula:
Number of integers = biggest - smallest + 1.
Thus:
Total = 999 - 701 + 1 = 299.

Integers with all 3 digits the same:
777, 888, 999.
Number of options = 3.

Integers with all 3 digits different:
Number of options for the hundreds digit = 3. (7, 8, or 9)
Number of options for the tens digit = 9. (Any digit 0-9 other than the digit already used.)
Number of options for the units digit = 8. (Any digit 0-9 other than the two digits already used.)
To combine these options, we multiply:
3*9*8 = 216.

Thus:
Integers with exactly 2 digits the same = 299-3-216 = 80.

The correct answer is C.
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.

As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.

For more information, please email me (Mitch Hunt) at [email protected].
Student Review #1
Student Review #2
Student Review #3

User avatar
GMAT Instructor
Posts: 15539
Joined: Tue May 25, 2010 12:04 pm
Location: New York, NY
Thanked: 13060 times
Followed by:1906 members
GMAT Score:790

by GMATGuruNY » Tue Jan 05, 2016 5:13 am
Amrabdelnaby wrote:Here is how i approached the problem:

we will have three cases
s s d
s d s
d s s where s represents same and d represents different

for the first case (s s d) we start with the most restrictive digit, the first one. we will have 3 options for this digit, either 7, 8, or 9

as for the third digit, which is restrictive also and must be different from the first, we can't use 0 as the number must be greater than 700 and we can't use the number in the first digit, so we have 8 options. and for the middle digit we have only 1 option for it to be similar to the last digit. so for the first case we have 3x1x8 = 24 ways
Case 1: SSD
The portion in red undercounts the number of options for D, since 700 is possible only in Case 3 -- DSS -- where the last two digits are the same.
In Case 1, D=0 is a valid option, yielding a total of 9 options for the value of D.
Number of ways to form SSD:
3*1*9 = 27.
for the second case (s d s) first digit will have 3 options, last has 1 option and the middle has 9 options, so we have 3x9x1 = 27 ways

for the last case (d s s ) first digit will have 3 options, last will have 8 as it must not include a zero nor the number used in the first digit, and the middle digit will have one option giving us 3x1x8 = 24
Case 3: SDD
The calculation for Case 3 omits two valid integers in which D=0:
800 and 900.
Adding these two options to the total, we get:
24+2 = 26.

Total ways = Case 1 + Case 2 + Case 3 = 27 + 27 + 26 = 80.
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.

As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.

For more information, please email me (Mitch Hunt) at [email protected].
Student Review #1
Student Review #2
Student Review #3

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 » Tue Jan 05, 2016 7:25 am
Of the three-digit integers greater than 700, how many have two digits that are equal to each other and the remaining digit different from the other two?

(A) 90
(B) 82
(C) 80
(D) 45
(E) 36
Another approach is to start LISTING numbers and look for a PATTERN.

Let's first focus on the numbers from 800 to 899 inclusive.
We have 3 cases to consider: 8XX, 8X8, and 88X

8XX
800
811
822
.
.
.
899
Since we cannot include 888 in this list, there are 9 numbers in the form 8XX

8X8
808
818
828
.
.
.
898
Since we cannot include 888 in this list, there are 9 numbers in the form 8X8

88X
880
881
882
.
.
.
889
Since we cannot include 888 in this list, there are 9 numbers in the form 88X

So, there are 27 (9+9+9) numbers from 800 to 899 inclusive that meet the given criteria.

Using the same logic, we can see that there are 27 numbers from 900 to 999 inclusive that meet the given criteria.

And there are 27 numbers from 700 to 799 inclusive that meet the given criteria. HOWEVER, the question says that we're looking at numbers greater than 700, so the number 700 does not meet the criteria. So, there are actually 26 numbers from 701 to 799 inclusive that meet the given criteria.

So, our answer is 27+27+26 = [spoiler]80 = C[/spoiler]

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

GMAT Instructor
Posts: 2630
Joined: Wed Sep 12, 2012 3:32 pm
Location: East Bay all the way
Thanked: 625 times
Followed by:119 members
GMAT Score:780

by Matt@VeritasPrep » Fri Jan 08, 2016 1:07 pm
You might also think of it this way.

Suppose that we have our three cases: SSD, SDS, DSS. The first two cases are identical: 3 choices for S, 9 choices for D (since D can be anything other than S), so 3*9 + 3*9.

The third case "should" be identical, giving us another 3*9. But 700 isn't an option! So we only have 3*9 - 1, or 26 cases for DSS, giving us a total of 3*9 + 3*9 + 3*9 - 1, or 80.