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!)
A144145 A positive integer n is included if n contains the same number of 0's as 1's when represented in binary and the number of 0's (or the number of 1's) divides n. 0
2, 10, 12, 42, 156, 172, 180, 184, 204, 212, 216, 228, 232, 240, 535, 555, 565, 570, 590, 595, 620, 625, 665, 675, 690, 710, 740, 775, 790, 805, 810, 820, 835, 850, 865, 880, 905, 920, 930, 2142, 2166, 2172, 2262, 2268, 2292, 2334, 2358, 2364, 2382, 2394 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
42 in binary is 101010. This contains the same number of 0's as 1's and that number (3) divides 42. So 42 is included in the sequence.
MATHEMATICA
Select[Range[5000], DigitCount[ #, 2, 0] == DigitCount[ #, 2, 1] && Mod[ #, DigitCount[ #, 2, 0]] == 0 &] (* Stefan Steinerberger, Sep 15 2008 *)
CROSSREFS
Sequence in context: A209642 A061855 A358524 * A075170 A039571 A080981
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Sep 11 2008
EXTENSIONS
More terms from Stefan Steinerberger and Dmitry Kamenetsky, Sep 15 2008
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 July 31 09:22 EDT 2024. Contains 374779 sequences. (Running on oeis4.)