OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
Module[{upto=100, odds}, odds=Select[Range[1, upto, 2], SequenceCount[ IntegerDigits[#, 2], {0, 0}]>0&]; Sort[Join[odds, Range[0, upto, 2]]]] (* The program uses the SequenceCount function from Mathematica version 10 *) (* Harvey P. Dale, Aug 30 2015 *)
PROG
(Haskell)
a247875 n = a247875_list !! (n-1)
a247875_list = filter (\x -> even x || f x) [0..] where
f x = x > 0 && (x `mod` 4 == 0 || f (x `div` 2))
(Python)
A247875_list = [n for n in range(10**3) if not n % 2 or '00' in bin(n)]
# Chai Wah Wu, Sep 26 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 25 2014
EXTENSIONS
Definition edited by Chai Wah Wu, Sep 26 2014
Definition clarified by Harvey P. Dale, Aug 30 2015
STATUS
approved