Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A057168
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A057168 Next larger integer with same binary weight (number of 1 bits) as n. +0
2
2, 4, 5, 8, 6, 9, 11, 16, 10, 12, 13, 17, 14, 19, 23, 32, 18, 20, 21, 24, 22, 25, 27, 33, 26, 28, 29, 35, 30, 39, 47, 64, 34, 36, 37, 40, 38, 41, 43, 48, 42, 44, 45, 49, 46, 51, 55, 65, 50, 52, 53, 56, 54, 57, 59, 67, 58, 60, 61, 71, 62, 79, 95, 128, 66, 68, 69, 72, 70, 73, 75 (list; graph; listen)
OFFSET

1,1

COMMENT

Binary weight is given by A000120.

REFERENCES

Beeler, M., Gosper, R. W., and Schroeppel, R. HAKMEM. MIT AI Memo 239, Feb. 29, 1972 (Item 175).

LINKS

Beeler, M., Gosper, R. W., and Schroeppel, R., HAKMEM ITEM 175

EXAMPLE

a(6)=9 since 6 has two one-bits (i.e. 6=2+4) and 9 is the next higher integer of binary weight two (7 is weight three and 8 is weight one).

CROSSREFS

Cf. A000120, A006519, A057169.

Sequence in context: A101410 A110991 A076990 this_sequence A087711 A123128 A057064

Adjacent sequences: A057165 A057166 A057167 this_sequence A057169 A057170 A057171

KEYWORD

easy,nonn,nice

AUTHOR

Marc LeBrun (mlb(AT)well.com), Sep 14 2000

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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research