a_n=\left\{\begin{array}{ll}
1,\  & n\ \textrm{paran},\\
-1,\ & n\ \textrm{neparan}
\end{array}\right.