login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A161604 A positive integer n is included if the value of (the reversal of n's representation in binary) divides n. 0
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 21, 24, 27, 28, 30, 31, 32, 33, 34, 36, 40, 42, 45, 48, 51, 54, 56, 60, 62, 63, 64, 65, 66, 68, 72, 73, 80, 84, 85, 90, 93, 96, 99, 102, 107, 108, 112, 119, 120, 124, 126, 127, 128, 129, 130, 132, 136, 144, 146, 153 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

By "reversal" of n's representation in binary, it is meant: write n in binary (without its leading 0's) from most significant digits on the right and least significant digits on the left, instead of writing n from left to right as is usual. Then interpret the new integer by reading it from left to right.

It seems (verified for the first 120000 entries) that a(n)=A057890(n+1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 18 2009]

EXAMPLE

24 in binary is 11000. The reversal of this is 11 (ignoring leading 0's), which is 3 in decimal. Since 3 divides 24, then 24 is included in this sequence.

MAPLE

A030101 := proc(n) local bdgs ; bdgs := convert(n, base, 2) ; add( op(-i, bdgs)*2^(i-1), i=1..nops(bdgs)) ; end: isA161604 := proc(n) if ( n mod A030101(n) ) = 0 then true ; else false; fi; end: for n from 1 to 600 do if isA161604(n) then printf("%d, ", n) ; fi; od: [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 18 2009]

CROSSREFS

A030101

Sequence in context: A062014 A164707 A057890 * A125121 A136490 A129523

Adjacent sequences:  A161601 A161602 A161603 * A161605 A161606 A161607

KEYWORD

base,nonn

AUTHOR

Leroy Quet, Jun 14 2009

EXTENSIONS

Extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 18 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 23:08 EST 2012. Contains 206085 sequences.