2016 AIME II Problem 4
Problem 4 of 15EasierNumber TheoryCombinatorics
An rectangular box is built from unit cubes. Each unit cube is colored red, green, or yellow. Each of the layers of size parallel to the -faces of the box contains exactly red cubes, exactly green cubes, and some yellow cubes. Each of the layers of size parallel to the -faces of the box contains exactly green cubes, exactly yellow cubes, and some red cubes. Find the smallest possible volume of the box.
Your answer
Integer from 0 to 999
Show solution
Solution
Each layer has exactly red and green cubes, hence exactly yellow; each layer has exactly green and yellow, hence exactly red. Counting green cubes in the whole box both ways gives so Counting yellow both ways gives so Counting red both ways gives and so
Thus and are positive integers, so divides and the volume is smallest when volume with
This is achievable: color every layer with three identical rows RRRGGGGYYYYY. Then each layer has red, green, and yellow cubes, and each layer has red, green, and yellow cubes. So the smallest possible volume is
Tagged: double counting · divisibility