OFFSET
1,3
PROG
(Python)
def ok(n): return int(bin(n)[:1:-1], 2) == int(str(n)[::-1])
print([k for k in range(10**7) if ok(k)]) # Michael S. Branicky, Jan 30 2023
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Mar 20 2003
EXTENSIONS
More terms from Harry J. Smith, Dec 19 2007
STATUS
approved