OFFSET
1,2
COMMENTS
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Reinhard Zumkeller)
MATHEMATICA
z[n_] := z[n] = If[n == 0, 0, z[Floor[n/2]] I + Mod[n, 2]];
Flatten[Position[Table[z[n], {n, 0, 500}], 0] - 1] (* Jean-François Alcover, Oct 12 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 22 2007
STATUS
approved