OFFSET
0,3
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..2000
MATHEMATICA
Join[{0}, Select[Range[500], With[{id=IntegerDigits[#, 2]/.(0->-1)}, Total[id] == 1&&Min[Accumulate[id]]>=0]&]] (* Harvey P. Dale, Dec 31 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 03 2000
STATUS
approved