Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A144145
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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
1
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; listen)
OFFSET

1,1

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

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 &] [From Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Sep 15 2008]

CROSSREFS

Sequence in context: A071162 A075165 A061855 this_sequence A075170 A039571 A080981

Adjacent sequences: A144142 A144143 A144144 this_sequence A144146 A144147 A144148

KEYWORD

base,nonn

AUTHOR

Leroy Quet Sep 11 2008

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com) and Dmitry Kamenetsky (dkamen(AT)rsise.anu.edu.au), Sep 15 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research