Solution:
Answer: 8
Note that if we have the value of f at the 8 points: (0,0,0), (1,0,0), (0,1,0), (0,0,1), (0,1,1), (1,0,1), (1,1,0), (1,1,1), we can calculate the value for any triple of points because we have that f(a+1,b,c)−f(a,b,c) is constant for any a, if b and c are fixed (and similarly for the other coordinates). To see why we cannot do this with fewer points, notice that we need to determine what the value of these 8 points is anyway, and there is no more efficient way to determine them all in fewer evaluations.