Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

1,1

COMMENT

a(n) is obtained by "adding 1 to the part of the binary expansion of n-1 to the left of the least significant 0". For example, to work out a(92) first write 91 in binary: 1011011. The part to the left of the least significant 0 is 1011 (eleven), and when we add 1 we get 1100 (twelve). Thus a(92) in binary is 1100011, so a(92)=99. This makes it clear that the map "n goes to a(n)" is a bijection from the positive integers to the positive integers without 1, 3, 7, 15, 31 etc.

FORMULA

a(n) = 2*A006519(n) + n - 1.

CROSSREFS

Sequence in context: A084432 A071297 A114393 this_sequence A069913 A072403 A010078

Adjacent sequences: A100707 A100708 A100709 this_sequence A100711 A100712 A100713

KEYWORD

easy,nonn

AUTHOR

Paul Boddington (pbotherstuff(AT)yahoo.co.uk), Apr 09 2006

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 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research