OFFSET
1,1
COMMENTS
For m >= 5, there are A000292(m-4) terms with m digits.
EXAMPLE
1010101 has three digits 0 and is the binary expansion of the odd integer 85, so 1010101 is a term.
MATHEMATICA
FromDigits[IntegerDigits[#, 2]] & /@ Select[Range[1, 250, 2], DigitCount[#, 2, 0] == 3 &] (* Amiram Eldar, Feb 18 2023 *)
PROG
(Python)
from itertools import count, islice
from sympy.utilities.iterables import multiset_permutations
def A360574_gen(): # generator of terms
yield from (int('1'+''.join(d)+'1') for l in count(0) for d in multiset_permutations('000'+'1'*l))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Feb 18 2023
STATUS
approved