OFFSET
0,6
PROG
(Python)
TOP = 1000
a = [0]*TOP
for n in range(1, TOP):
print a[n-1],
a[n] = (n + a[n//2]) % 3
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alex Ratushnyak, Aug 17 2012
STATUS
approved