What is the maximum number $\phi(n)$ of roots of the function $e^{x^2}-p(x)$, where $p(x)$ is an $n$-degree polynomial.
It is known that an $n$-degree polynomial intersects the function $e^x$ at at most $n+1$ points (Number of solutions of $P(x)=e^{ax}$ if $P$ is a polynomial). It follows from the fact that the function $e^x$ has strictly positive $(n+1)$-order derivative whilst $p^{(n+1)}\equiv 0$, so $e^x-p(x)$ has strictly positive $(n+1)$-order derivative.
By inspecting the derivatives of the function $f(x)=e^{x^2}$: \begin{align*} f'(x) &= 2x e^{x^2}, \\ f''(x) &= 2(2x^2+1)e^{x^2} \\ f'''(x) &= 4x (2x^2+3) e^{x^2},\\ & \dots \end{align*} we can observe (and prove recursively) that all of the derivatives $f^{n}$ of $f$ are
- strictly positive for $n$ even;
- strictly positive on $(0,\infty)$ and strictly negative on $(-\infty,0)$ for $n$ even.
We can therefore conclude that $f$ intersects any $n$-degree polynomial $p$ at at most $n+1$ points whenever $n$ is odd. And considering interpolation (@GregMartin's comment) we have that:
$\phi(n)=n+1$ for $n$ odd.
However, using the same argument for $n$ even we can only conclude that $f-p$ has at most $n+1$ roots on $(0,\infty)$, and likewise (due to symmetry about $y$-axis) at most $n+1$ points on $(-\infty,0)$. Considering that another intersection might occur at $x=0$, we can be sure that $f$ intersects $p$ at at most $2n+3$ points.
Is there a better estimate than $\phi(n)\leq 2n+3$ for $n$ even?