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!)
A081432 RevDecimal(RevBinary(n)), where RevDecimal(m) is the decimal reversal of m (A004086) and RevBinary(m) is the binary reversal of m (A030101). 3
0, 1, 1, 3, 1, 5, 3, 7, 1, 9, 5, 31, 3, 11, 7, 51, 1, 71, 9, 52, 5, 12, 31, 92, 3, 91, 11, 72, 7, 32, 51, 13, 1, 33, 71, 94, 9, 14, 52, 75, 5, 73, 12, 35, 31, 54, 92, 16, 3, 53, 91, 15, 11, 34, 72, 95, 7, 93, 32, 55, 51, 74, 13, 36, 1, 56, 33, 79, 71, 18, 94, 311, 9, 37, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = A004086(A030101(n)). - Michel Marcus, Jan 30 2023
MATHEMATICA
IntegerReverse[IntegerReverse[Range[0, 80], 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 03 2017 *)
PROG
(Python)
def a(n): return int(str(int(bin(n)[:1:-1], 2))[::-1])
print([a(n) for n in range(75)]) # Michael S. Branicky, Jan 30 2023
(PARI) a(n) = fromdigits(Vecrev(digits(fromdigits(Vecrev(binary(n)), 2)))); \\ Michel Marcus, Jan 30 2023
CROSSREFS
Sequence in context: A030101 A162742 A348363 * A318060 A336652 A136655
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Mar 20 2003
STATUS
approved

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 24 14:54 EDT 2024. Contains 371960 sequences. (Running on oeis4.)