JMC 2014 Q21
21. Pablo's teacher has given him 27 identical white cubes. She asks him to paint some of the faces of these cubes grey and then stack the cubes so that they appear as shown. What is the largest possible number of the individual white cubes which Pablo can leave with no faces painted grey?
- A 8
- B 12
- C 14
- D 15
- E 16

Junior Mathematical Challenge 2014, Question 21. © UK Mathematics Trust. Original paper on ukmt.org.uk
Answer: D 15
Both the top and bottom layers of 9 cubes can be seen to contain 5 cubes with at least one face printed grey. The bottom layer could contain more than 5. In the middle layer, two cubes with grey faces are visible and there could be more. Therefore at least 12 cubes must have at least one face painted grey, which means that the largest number of cubes which Pablo can leave with no faces painted grey is 27 − 12 = 15.
Solution © UK Mathematics Trust, from the JMC 2014 solutions. Longer versions with investigations: Solutions and investigations (PDF).