a(n)=g(n)-g(n-1) where g(k)=floor(phi*floor(k/phi)) and phi=(1+sqrt(5))/2.
0, 1, 0, 2, 1, 0, 2, 0, 2, 1, 0, 2, 1, 0, 2, 0, 2, 1, 0, 2, 0, 2, 1, 0, 2, 1, 0, 2, 0, 2, 1, 0, 2, 1
1 seqfan posts
Tue Jun 15 02:37:01 CEST 2010 [seqfan] On the Parity of Stanley's Partition Function -- should a comment go in A097567 or elsewhere?