Simple discrete time transformation $x[(n-1)^2]$
This is what I came up for using the table below. IF anyone can confirm?**

$$
\begin{array}{c|c|c}
n &amp; (n-1)^2 &amp; x\left[(n-1)^2\right] \\
\hline
-2&amp; (-2-1)^2=9\ &amp; x[9]=0 \\
-1&amp; (-1-1)^2=4\ &amp;x[4]=0\\
0&amp; (0-1)^2=1&amp; x[1]=1\\
1&amp;(1-1)^2=0&amp; x[0]=1\\
2&amp; (2-1)^2=1&amp; x[1]=1\\
3&amp; (3-1)^2=4&amp; x[4]=0\\
4&amp;(4-1)^2=9&amp; x[9]=0
\end{array}
$$