cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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).

This page as a plain text file.
%I A081434 #18 Aug 05 2025 03:38:28
%S A081434 0,1,3,5,7,9,33,92,99,313,585,717,732,759,957,5485,5845,7447,9009,
%T A081434 15351,32223,39993,53235,53835,71869,73737,77360,96817,319773,377913,
%U A081434 585585,1758571,1934391,1979791,3129213,5071705,5259525,5841485,13162800
%N 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).
%H A081434 Amiram Eldar, <a href="/A081434/b081434.txt">Table of n, a(n) for n = 1..55</a>
%F A081434 A030101(a(n)) = A004086(a(n)).
%t A081434 Select[Range[0, 100000], SameQ @@ IntegerReverse[#, {2, 10}] &] (* _Amiram Eldar_, Aug 05 2025 *)
%o A081434 (Python)
%o A081434 def ok(n): return int(bin(n)[:1:-1], 2) == int(str(n)[::-1])
%o A081434 print([k for k in range(10**7) if ok(k)]) # _Michael S. Branicky_, Jan 30 2023
%o A081434 (PARI) isok(k) = fromdigits(Vecrev(binary(k)), 2) == fromdigits(Vecrev(digits(k))); \\ _Amiram Eldar_, Aug 05 2025
%Y A081434 Cf. A004086, A030101.
%Y A081434 Cf. A007632, A081433, A007088.
%K A081434 nonn,base
%O A081434 1,3
%A A081434 _Reinhard Zumkeller_, Mar 20 2003
%E A081434 More terms from _Harry J. Smith_, Dec 19 2007