Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Stacking Game You begin with a stack of n boxes. Then you make a sequence of moves. In each move, you divide one stack of

Stacking Game

You begin with a stack of n boxes. Then you make a sequence of moves. In each move, you divide one stack of boxes into two nonempty stacks. The game ends

when you have n stacks, each containing a single box. You earn points for each move; in particular, if you divide one stack of height a+b into two stacks with heights a and b, then you score ab points for that move.Your overall score is the sum of the points that you earn for each move.

What strategy should you use to maximize your total score?

As an example,suppose that we begin with a stack of n= 10 boxes.

Then the game might proceed as shown in Figure;

On each line,

the underlined stack is divided in the next step.

Can you find a better strategy?

image text in transcribedimage text in transcribed
n 1 n 2Stack Heights Score 25 points N - - IN NIW W W IU INNNNNN 1 2 1 - N . 2 - 1 21 1 1 1 21 1 1 1 - - 1 1 1 1 1 1 Total Score = 45 points

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modeling the Dynamics of Life Calculus and Probability for Life Scientists

Authors: Frederick R. Adler

3rd edition

840064187, 978-1285225975, 128522597X, 978-0840064189

More Books

Students also viewed these Mathematics questions

Question

Show the properties and structure of allotropes of carbon.

Answered: 1 week ago