2006 AIME I Problem 11
Problem 11 of 15HarderCombinatorics
A collection of cubes consists of one cube with edge-length for each integer A tower is to be built using all 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 that can be constructed. What is the remainder when is divided by
Your answer
Integer from 0 to 999
Show solution
Solution
Let be the number of legal towers using the cubes of edge-lengths Given a legal tower of cubes, cube can be inserted in exactly three places: at the bottom, immediately on top of cube or immediately on top of cube (anywhere else it would rest on a cube of edge-length at most violating the rule). Each insertion stays legal, because the cube that ends up on top of cube has edge-length at most Conversely, deleting cube from a legal tower of cubes leaves a legal tower: the cube that was above it, of edge-length at most lands on a cube of edge-length at least
Hence for Since (either of the two cubes may be on top), we get and the remainder is
Tagged: recursive counting · bijection