In the Tower of Hanoi puzzle, suppose our goal is to transfer all n disks from peg 1 to peg 3, but we cannot move a disk directly between pegs 1 and 3. Each move of a disk must be a move involving peg 2. As usual, we cannot place a disk on top of a smaller disk.
a) Find a recurrence relation for the number of moves required to solve the puzzle for n disks with this added restriction.
b) Solve this recurrence relation to find a formula for the number of moves required to solve the puzzle for n disks.
c) How many different arrangements are there of the n disks on three pegs so that no disk is on top of a smaller disk?
d) Show that every allowable arrangement of the n disks occurs in the solution of this variation of the puzzle.
Want to see the full answer?
Check out a sample textbook solutionChapter 8 Solutions
Discrete Mathematics and Its Applications
- Draw the asymptotes (if there are any). Then plot two points on each piece of the graph.arrow_forwardCancel Done RESET Suppose that R(x) is a polynomial of degree 7 whose coefficients are real numbers. Also, suppose that R(x) has the following zeros. -1-4i, -3i, 5+i Answer the following. (a) Find another zero of R(x). ☐ | | | | |│ | | | -1 བ ¢ Live Adjust Filters Croparrow_forwardSuppose that R (x) is a polynomial of degree 7 whose coefficients are real numbers. Also, suppose that R (x) has the following zeros. -1-4i, -3i, 5+i Answer the following. (c) What is the maximum number of nonreal zeros that R (x) can have? ☐arrow_forward
- Given r = e−p2−q2, p = es, q = e−s, find dr/dsarrow_forwardSuppose that R (x) is a polynomial of degree 7 whose coefficients are real numbers. Also, suppose that R (x) has the following zeros. -1-4i, -3i, 5+i Answer the following. (b) What is the maximum number of real zeros that R (x) can have? ☐arrow_forward30. An individual who has automobile insurance from a certain company is randomly selected. Let Y be the num- ber of moving violations for which the individual was cited during the last 3 years. The pmf of Y isy | 1 2 4 8 16p(y) | .05 .10 .35 .40 .10 a.Compute E(Y).b. Suppose an individual with Y violations incurs a surcharge of $100Y^2. Calculate the expected amount of the surcharge.arrow_forward
- i need help please dont use chat gptarrow_forward24. An insurance company offers its policyholders a num- ber of different premium payment options. For a ran- domly selected policyholder, let X = the number of months between successive payments. The cdf of X is as follows: F(x)=0.00 : x < 10.30 : 1≤x<30.40 : 3≤ x < 40.45 : 4≤ x <60.60 : 6≤ x < 121.00 : 12≤ x a. What is the pmf of X?b. Using just the cdf, compute P(3≤ X ≤6) and P(4≤ X).arrow_forwardAssignment Brief: 1. Use the trapezium rule with five ordinates (four strips) to find an approximation to giving your answer to 2 decimal places. 1 dx x³ +3arrow_forward
- 59. At a certain gas station, 40% of the customers use regular gas (A1), 35% use plus gas (A2), and 25% use premium (A3). Of those customers using regular gas, only 30% fill their tanks (event B). Of those customers using plus, 60% fill their tanks, whereas of those using premium, 50% fill their tanks.a. What is the probability that the next customer will request plus gas and fill the tank (A2 B)?b. What is the probability that the next customer fills the tank?c. If the next customer fills the tank, what is the probability that regular gas is requested? Plus? Premium?arrow_forward38. Possible values of X, the number of components in a system submitted for repair that must be replaced, are 1, 2, 3, and 4 with corresponding probabilities .15, .35, .35, and .15, respectively. a. Calculate E(X) and then E(5 - X).b. Would the repair facility be better off charging a flat fee of $75 or else the amount $[150/(5 - X)]? [Note: It is not generally true that E(c/Y) = c/E(Y).]arrow_forward74. The proportions of blood phenotypes in the U.S. popula- tion are as follows:A B AB O .40 .11 .04 .45 Assuming that the phenotypes of two randomly selected individuals are independent of one another, what is the probability that both phenotypes are O? What is the probability that the phenotypes of two randomly selected individuals match?arrow_forward
- Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage LearningCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL
- Elements Of Modern AlgebraAlgebraISBN:9781285463230Author:Gilbert, Linda, JimmiePublisher:Cengage Learning,Algebra and Trigonometry (MindTap Course List)AlgebraISBN:9781305071742Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage LearningAlgebra for College StudentsAlgebraISBN:9781285195780Author:Jerome E. Kaufmann, Karen L. SchwittersPublisher:Cengage Learning