Browse · MathNet
PrintDutch Mathematical Olympiad
Netherlands counting and probability
Problem
Sara has 10 blocks numbered to . She wants to stack all the blocks into a tower. A block can only be put on top of a block with a higher number, or on top of a block with a number that is exactly one lower. An example of such a tower is, from top to bottom: , , , , , , , , , . How many different towers are possible?
Solution
We will first look at the problem for a smaller number of blocks. With block, only tower is possible. With blocks, both towers (top) - (bottom) and - are possible. With blocks, these are the possible towers: --, --, --, and --. It seems that the number of towers doubles each time. We are going to prove this. Starting from a tower with blocks, consider the block with the highest number, . If this block lies on top of another block, then this must be a block with a lower number (as there does not exist a block with a higher number), and according to the requirements it has to lie on the block with number . Hence, block lies either completely on the bottom, or directly on top of block . Because all other blocks can also lie on top of block , we see that after removing block , we are left with a valid tower of blocks.
Now we want to show that from any (valid) tower of blocks we can make a valid tower of blocks. In every (valid) tower of blocks we can insert block either at the bottom or directly on top of block ; other places are not allowed and in this way block never lies on a block with a number that is too small. In both cases the tower of blocks is a valid one, because on top of block any other block is allowed. So from any valid tower of blocks we can make two valid towers of blocks.
So we see that the number of towers indeed doubles every time. For there is tower, for there are towers and in general there are towers. So the number of towers with blocks is .
Now we want to show that from any (valid) tower of blocks we can make a valid tower of blocks. In every (valid) tower of blocks we can insert block either at the bottom or directly on top of block ; other places are not allowed and in this way block never lies on a block with a number that is too small. In both cases the tower of blocks is a valid one, because on top of block any other block is allowed. So from any valid tower of blocks we can make two valid towers of blocks.
So we see that the number of towers indeed doubles every time. For there is tower, for there are towers and in general there are towers. So the number of towers with blocks is .
Final answer
512
Techniques
Recursion, bijectionInduction / smoothing