We let $a_0 = 0, a_1 = 0, a_n=\text{mex}(\{a_i+a_{n-i-2},i=0\ldots n-2\}),n\geq2$. Now suppose we need to calculate $a_n$ for large $n$ and fast. There have got to be certain shortcuts for that - like being able to move from $a_n$ to $a_{2n}$ in one step or having a closed form for some of these numbers for some $n$s. That's what I'm interested in. Thanks.
EDIT: For those who are new to this whole Nimber thing, as I am, $\text{mex}$ stands for "minimally excluded" and returns minimal non-negative number that is not in the given set. For example, $\text{mex}(\{1,2,4\})=0$ and $\text{mex}(\{0,2,5\})=1$. Also, nimber-addition is just bitwise-xor, so plus-sign in the formula can be changed for $\oplus$. Now if we go back to my sequence, we would have $$ a_2=\text{mex}(\{0\oplus0\})=1, $$ $$ a_3=\text{mex}(\{0\oplus0,0\oplus0\})=1, $$ $$ a_4=\text{mex}(\{0\oplus1,0\oplus0,1\oplus0\})=2. $$ Similarly, $a_5=0,a_6=3,a_7=1$, and so on.