TeX source:
\begin{array}{c|ccccccc} x & 17 & 18 & 19 & 20 & 21 & 22 & 24 \\ \hline f & 2 & 8 & 5 & 3 & 1 & 1 & 1 \end{array}