OFFSET
1,2
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Odious Number
MATHEMATICA
Union[Nest[Flatten[{#, 4#, 4#+3}]&, {1, 2}, 4]] (* Harvey P. Dale, Aug 02 2013 *)
PROG
(Haskell)
import Data.Set (fromList, insert, deleteFindMin)
a132679 n = a132679_list !! (n-1)
a132679_list = f $ fromList [1, 2] where
f s = m : f (insert (4*m) $ insert (4*m+3) s') where
(m, s') = deleteFindMin s
-- Reinhard Zumkeller, Oct 29 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 26 2007
STATUS
approved