Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

counting and probability senior

Problem

A collection of 8 cubes consists of one cube with edge-length for each integer A tower is to be built using all 8 cubes according to the rules: Any cube may be the bottom cube in the tower. The cube immediately on top of a cube with edge-length must have edge-length at most Let be the number of different towers than can be constructed. What is the remainder when is divided by 1000?
Solution
We proceed recursively. Suppose we can build towers using blocks of size . How many towers can we build using blocks of size ? If we remove the block of size from such a tower (keeping all other blocks in order), we get a valid tower using blocks . Given a tower using blocks (with ), we can insert the block of size in exactly 3 places: at the beginning, immediately following the block of size or immediately following the block of size . Thus, there are 3 times as many towers using blocks of size as there are towers using only . There are 2 towers which use blocks , so there are towers using blocks , so the answer is .
Final answer
458