A positive integer is written on each of the six faces of a cube. For each vertex of the cube we compute the product of the numbers on the three adjacent faces. The sum of these products is 1001. What is the sum of the six numbers on the faces?
Let the numbers on the faces be $a_{1}, a_{2}, b_{1}, b_{2}, c_{1}, c_{2}$, placed so that $a_{1}$ and $a_{2}$ are on opposite faces etc. Then the sum of the eight products is equal to

$$
\left(a_{1}+a_{2}\right)\left(b_{1}+b_{2}\right)\left(c_{1}+c_{2}\right)=1001=7 \cdot 11 \cdot 13 .
$$

Hence the sum of the numbers on the faces is $a_{1}+a_{2}+b_{1}+b_{2}+c_{1}+c_{2}=7+11+13=$ 31.