Notice that the case is simply Rolle's theorem. Now applying Rolle to each interval of the form with we have that there exist points, say where the first derivative is , and applying Rolle again in we get points where is . Arguing inductively we get that there exists points where is zero so we get 2 points where is zero and applying Rolle one more time the result follows.