Confirming your payment

Skip to content

Sign up now and get .

Competency-Based Questions (CBQ) · Question 2 of 40

Competency: Application In the Tower of Hanoi puzzle, discs of different sizes sit on one of three pegs, largest at…

Question 21 markMCQMedium

Competency: Application

In the Tower of Hanoi puzzle, discs of different sizes sit on one of three pegs, largest at the bottom. A move takes the top disc of one peg to another peg, and a disc may never be placed on a smaller disc. Let MnM_{n} be the least number of moves needed to shift a tower of nn discs to another peg. To shift n+1n + 1 discs, a player shifts the top nn discs to the spare peg, moves the largest disc, and then shifts the nn discs back on top of it. So

M1=1,Mn+1=2Mn+1M_{1} = 1, \qquad M_{n+1} = 2M_{n} + 1

A puzzle app uses 77 discs. What is the least number of moves needed?

Select your answer
  • (A) 1313

  • (B) 6363

  • (C) 127127

    Correct answer
  • (D) 128128