The Painted Cube
The puzzle
A wooden cube is painted red on all six faces, then cut into 27 identical smaller cubes by two cuts along each axis.
How many of the small cubes have paint on exactly two faces?
Stuck?
One at a time, smallest first. Open only as many as you need — the whole point of the puzzle is the part you work out yourself.
Hint 1
Where a small cube sat decides how much paint it has: corner, edge, face centre or inside.
Hint 2
Exactly two painted faces means it was on an edge of the big cube but not at a corner.
Show the answer Hide the answer
Twelve - one from the middle of each of the cube’s twelve edges.
How to get there
A corner cube shows three painted faces; there are 8 of those. A cube in the middle of a face shows one; there are 6. The single cube at the centre shows none.
That accounts for 8 + 6 + 1 = 15 cubes, leaving 27 - 15 = 12.
Those 12 are the ones sitting between two corners along an edge - a cube has twelve edges and a 3 x 3 x 3 split leaves exactly one such cube per edge.
The technique worth keeping
Classify by position, not by counting paint. Corners, edges, faces and interior is the right partition for any n x n x n version, and it generalises to 12(n-2) two-face cubes.