Hide answer & extension
Consider the top, front, and right sides of the cube.
If the top number is \(a\) more than a multiple of six, then the front and right numbers must both be \(a\) less than a multiple of 6 (so that when added to the top number they make a multiple of 6). But when the front and right numbers are added, they make \(2a\) less than a multiple of 6; but this must also be a multiple of 6.
This is only possible if \(a=0\) or \(a=3\). So the numbers must be either all multiples of 6, or all 3 more than multiples of 6.
The smallest set of numbers that are all 3 more than multiples of 6 is 3,9,15,21,27,33. The sum of these is 108. The smallest set of numbers that are all multiples of 6 is the set with each number three more than these, so 108 is the smallest possible total.
Extension
Six numbers are written on the faces of a cube. The sum of the numbers on any two adjacent faces is a multiple of \(n\).
What is the smallest possible sum of the six numbers?