In MSE question the equation $x^2-1=2^x$ is considered, this is a generalization:
Let $P_n(x)$ a polynomial of degree $n > 0$. It is well know that the equation $P_n(x)=0\;$ has at most $n$ real solutions. But consider the inhomogeneous equations $P_n(x)=2^x$ or even $$P_n(x)=e^{ax},\quad a\ne 0$$ Is it correct to say that the number of solutions is $\le n+1?$
Proof could be via induction on $n$ with $P_{n+1}'(x)/a=e^{ax},\;$ but at the moment I see no obvious way to get back to $P_{n+1}(x)=e^{ax}.$