Question 1210386
<pre>

simplest formula:

{{{a[n]=system(matrix(2,5,

 (-n+3)/2,if,n,is,odd,
(n+2)/2,if,n,is,even)))}}}

Edwin</pre>