OFFSET
1,1
LINKS
FORMULA
a(n) = if chi(n) then 1 else 0, where chi(n) = if n<3 then (n=1) else ((n mod 2 = 1) AND chi((n-1)/2)) OR ((n mod 3 = 1) AND chi((n-1)/3)).
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 20 2007
STATUS
approved