# [Tex/LaTex] Horner scheme with a tabular

tables

I know there exists a standard code for a Horner scheme. But I would like to get the following tabular.

I've got the next code but I can't find how I get that little vertical line at the right bottom.

\begin{tabular}{c|cccc}
& 3 & 2 & -5 & -10 \\
&   &   &    &     \\ \hline
&   &   &    &
\end{tabular}


I've got another question about this. The number 11 is now shifted to the left, but I want that it's under 16.

\begin{tabular}{c|cccc}
& 3 & 2 & -5 & -10 \\
2 & $\downarrow$  & 6  & 16    & 22   \\ \hline
& 3  & 8  &  11   \multicolumn{1}{c|}{}  & 12
\end{tabular}


\documentclass{article}
\begin{document}
$\begin{array}{c|cccc} & 3 & 2 & -5 & -10 \\ & & & & \\ \hline & & & \multicolumn{1}{c|}{} & \end{array}$
\end{document}


If you want it to be thick,

\documentclass{article}
\usepackage{array}
\begin{document}
$\begin{array}{c|cccc} & 3 & 2 & -5 & -10 \\ & & & & \\ \hline & & & & \multicolumn{1}{!{\vrule width 1.5pt}c}{} \end{array}$
\end{document}