Write $P(x; a) = \sum_{n \geq 0} a_n x^n$. Is there a way to show that there exists a choice of nonzero sequence $a_n$ for which $P(x_k; a) = 0$ for $k = 1, \dots, n$, and $x_1, \dots, x_n \in \mathbf{R}$?
More generally, suppose $X \subset \mathbf{R}$, when is
$$\{ a \in \mathbf{R}^\mathbf{N} \setminus \{0\} \mid P(x; a) = 0, \mbox{for all}~x \in X \} $$ nonempty? (I know that when $X$ contains a neighborhood of 0.)