GmatMath Pro questin

This topic has expert replies
Senior | Next Rank: 100 Posts
Posts: 32
Joined: Tue Sep 13, 2011 1:02 am
Thanked: 2 times

GmatMath Pro questin

by kakz » Mon Oct 03, 2011 10:27 pm
Bill has a set of encyclopedias with 26 volumes, one per letter of the alphabet. He has a special shelf built for them with 26 slots in a row, each labeled alphabetically. After moving to a new house, Bill is faced with the task of putting the books back in their proper slots. He decides to do it in such a way that, during the process, there is never a gap between any of the books that are on the shelf. That is, each book he puts back after the first one is adjacent to a book that is already on the shelf. If he can start with any of the 26 books, how many ways can Bill accomplish his task?

A. 26!
B. 2^{25}
C. 24!
D. 26^2
E. 14!12!


Answer B. Plz help to solve.
Source: — Problem Solving |

User avatar
GMAT Instructor
Posts: 349
Joined: Wed Sep 28, 2011 3:38 pm
Location: Austin, TX
Thanked: 236 times
Followed by:54 members
GMAT Score:770

by GmatMathPro » Tue Oct 04, 2011 7:43 am
Nobody?

There's a very elegant solution to this one but to see it you have to think about the problem in a somewhat creative way. There are also a few inelegant solutions. I'm interested to see if anyone comes up with anything interesting. If not, I'll post the solution in a little while.
Pete Ackley
GMAT Math Pro
Free Online Tutoring Trial

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 Oct 04, 2011 7:54 am
kakz wrote:Bill has a set of encyclopedias with 26 volumes, one per letter of the alphabet. He has a special shelf built for them with 26 slots in a row, each labeled alphabetically. After moving to a new house, Bill is faced with the task of putting the books back in their proper slots. He decides to do it in such a way that, during the process, there is never a gap between any of the books that are on the shelf. That is, each book he puts back after the first one is adjacent to a book that is already on the shelf. If he can start with any of the 26 books, how many ways can Bill accomplish his task?

A. 26!
B. 2^{25}
C. 24!
D. 26^2
E. 14!12!


Answer B. Plz help to solve.
One approach: try easier examples to determine the pattern.

What if we had just 1 letter of the alphabet?
Number of ways to place book A:
1 way.

What if we had just 2 letters of the alphabet?
Number of ways to place books A and B:
A-B
B-A
2 ways.

What if we had just 3 letters of the alphabet?
Number of ways to place books A, B and C.
A-B-C
B-A-C
B-C-A
C-B-A
4 ways.

What if we had just 4 letters of the alphabet?
Number of ways to place books A, B, C and D:
A-B-C-D
B-A-C-D
B-C-A-D
B-C-D-A
C-D-B-A
C-B-A-D
C-B-D-A
D-C-B-A
8 ways.

Every time we include another letter of the alphabet, the number of ways DOUBLES.
To illustrate why:
If we have only books A, B, and C and the first book placed on the shelf is C, we have only 1 option for the next book: B.
But if we have books A, B, C, and D and first book placed on the shelf is C, we have TWO options for the next book: B or D.
Including another letter of the alphabet DOUBLES the number of ways.

Putting it all together:
The number of ways to place book A = 1.
Each of the 25 remaining letters will DOUBLE the number of ways.
Thus, the number of ways will DOUBLE 25 times:
1*2²�= 2²�.

The correct answer is B.
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: 349
Joined: Wed Sep 28, 2011 3:38 pm
Location: Austin, TX
Thanked: 236 times
Followed by:54 members
GMAT Score:770

by GmatMathPro » Tue Oct 04, 2011 12:32 pm
Thanks, Mitch.

The other way to do it that I mentioned is basically to work backwards. That is, count the number of ways to take the books OFF the shelf without leaving a gap, rather than the number of ways of putting them back on. In that case you always have to remove one of the books at the end. There will always be two books to choose from until you get to the last book, so you'll have 2 choices 25 times and 1 choice 1 time: 2^25.

This is clearly equivalent to the original problem because every legitimate sequence that he could use to put the books on the shelf could be reversed, so the number of ways to put the books on and number of ways to take the books off would have a one-to-one correspondence.
Pete Ackley
GMAT Math Pro
Free Online Tutoring Trial

Senior | Next Rank: 100 Posts
Posts: 96
Joined: Wed May 20, 2009 8:46 pm
Thanked: 1 times

by jonathan123456 » Tue Oct 04, 2011 9:52 pm
If we have 3 books, number of combinations wouldnt be 6,
3 options for 1st book, 2 for 2nd book and 1 option for 1st.
Am i missing something in the question?

GMATGuruNY wrote:
kakz wrote:Bill has a set of encyclopedias with 26 volumes, one per letter of the alphabet. He has a special shelf built for them with 26 slots in a row, each labeled alphabetically. After moving to a new house, Bill is faced with the task of putting the books back in their proper slots. He decides to do it in such a way that, during the process, there is never a gap between any of the books that are on the shelf. That is, each book he puts back after the first one is adjacent to a book that is already on the shelf. If he can start with any of the 26 books, how many ways can Bill accomplish his task?

A. 26!
B. 2^{25}
C. 24!
D. 26^2
E. 14!12!


Answer B. Plz help to solve.
One approach: try easier examples to determine the pattern.

What if we had just 1 letter of the alphabet?
Number of ways to place book A:
1 way.

What if we had just 2 letters of the alphabet?
Number of ways to place books A and B:
A-B
B-A
2 ways.

What if we had just 3 letters of the alphabet?
Number of ways to place books A, B and C.
A-B-C
B-A-C
B-C-A
C-B-A
4 ways.

What if we had just 4 letters of the alphabet?
Number of ways to place books A, B, C and D:
A-B-C-D
B-A-C-D
B-C-A-D
B-C-D-A
C-D-B-A
C-B-A-D
C-B-D-A
D-C-B-A
8 ways.

Every time we include another letter of the alphabet, the number of ways DOUBLES.
To illustrate why:
If we have only books A, B, and C and the first book placed on the shelf is C, we have only 1 option for the next book: B.
But if we have books A, B, C, and D and first book placed on the shelf is C, we have TWO options for the next book: B or D.
Including another letter of the alphabet DOUBLES the number of ways.

Putting it all together:
The number of ways to place book A = 1.
Each of the 25 remaining letters will DOUBLE the number of ways.
Thus, the number of ways will DOUBLE 25 times:
1*2²�= 2²�.

The correct answer is B.
Never say Die!

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 » Wed Oct 05, 2011 7:05 am
jonathan123456 wrote:If we have 3 books, number of combinations wouldnt be 6,
3 options for 1st book, 2 for 2nd book and 1 option for 1st.
Am i missing something in the question?
kakz wrote:Bill has a set of encyclopedias with 26 volumes, one per letter of the alphabet. He has a special shelf built for them with 26 slots in a row, each labeled alphabetically. After moving to a new house, Bill is faced with the task of putting the books back in their proper slots. He decides to do it in such a way that, during the process, there is never a gap between any of the books that are on the shelf. That is, each book he puts back after the first one is adjacent to a book that is already on the shelf. If he can start with any of the 26 books, how many ways can Bill accomplish his task?
The number of ways to arrange books A, B and C = 3*2*1 = 6, but 2 of these arrangements are not allowed: A-C-B and C-A-B.
Once A is placed on the shelf, we cannot then place C on the shelf, because C is not adjacent to A.
Once C is placed on the shelf, we cannot then place A on the shelf, because A is not adjacent to C.
As books are placed, we must satisfy the condition that there is never a gap between any of the books on the shelf.
Thus, the number of acceptable ways to place books A, B and C = 4.
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