login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081434 Numbers such that RevBinary() = RevDecimal(), where RevDecimal(n) is the decimal reversal of n (A004086) and RevBinary(n) is the binary reversal of n (A030101). 5

%I #12 Jan 31 2023 08:25:45

%S 0,1,3,5,7,9,33,92,99,313,585,717,732,759,957,5485,5845,7447,9009,

%T 15351,32223,39993,53235,53835,71869,73737,77360,96817,319773,377913,

%U 585585,1758571,1934391,1979791,3129213,5071705,5259525,5841485,13162800

%N Numbers such that RevBinary() = RevDecimal(), where RevDecimal(n) is the decimal reversal of n (A004086) and RevBinary(n) is the binary reversal of n (A030101).

%F A030101(a(n)) = A004086(a(n)).

%o (Python)

%o def ok(n): return int(bin(n)[:1:-1], 2) == int(str(n)[::-1])

%o print([k for k in range(10**7) if ok(k)]) # _Michael S. Branicky_, Jan 30 2023

%Y Cf. A004086, A030101.

%Y Cf. A007632, A081433, A007088.

%K nonn,base

%O 1,3

%A _Reinhard Zumkeller_, Mar 20 2003

%E More terms from _Harry J. Smith_, Dec 19 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 12:27 EDT 2024. Contains 371912 sequences. (Running on oeis4.)