OFFSET
1,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Digit Count
MATHEMATICA
Select[Range[0, 7! ], Abs[DigitCount[ #, 2, 0]-DigitCount[ #, 2, 1]]<2 &] (* Vladimir Joseph Stephan Orlovsky, Feb 16 2010 *)
PROG
(Haskell)
a089648 n = a089648_list !! (n-1)
a089648_list = filter ((<= 1) . abs . a037861) [0..]
-- Reinhard Zumkeller, Mar 31 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jan 02 2004
STATUS
approved