TeX source:
 \begin{array}{c|cccc} x & -1 & 0 & 1 & 2 \\ \hline f & 3 & 4 & 2 & 1 \end{array}