f(n)=\left\{\begin{array}{ll}1,&n=1\\n-1,&n\geq 2\end{array}\right.