Let $f:\mathbb{R} \to \mathbb{R}$ be an infinitely differentiable function and suppose that for some $n >1$, $$ f(1) = f(0) = f^{(1)}(0) = f^{(2)}(0) = \cdots = f^{(n)} (0) = 0 $$ where $f^{(k)}(x)$ denotes the $k$-th derivative of $f$ for $k \ge 1$.
Prove that there exists $x$ with $(0<x<1)$ such that $f^{(n+1)}(x) = 0$.
Taylor's theorem $$ f(x) = \sum_{k=0}^n \frac{f^{(k)}(x_0)}{k!} (x - x_0)^k + R_n(x) $$ and the Lagrange form of the remainder $$ R_n(x) = \frac{f^{(n+1)}(\xi)}{(n+1)!} (x - x_0)^{n+1} $$ for some $\xi \in (x_0, x)$, applied at $x_0 = 0$ give $$ 0 = f(1) = \sum_{k=0}^n \frac{f^{(k)}(0)}{k!} 1^k + R_n(1) = R_n(1) = \frac{f^{(n+1)}(\xi)}{(n+1)!} $$ for some $\xi \in (0, 1)$.