Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124203
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124203 a(n) = 2n + "reverse of n-written-in-binary" + 2. +0
1
2, 5, 7, 11, 11, 17, 17, 23, 19, 29, 27, 37, 29, 39, 37, 47, 35, 53, 47, 65, 47, 65, 59, 77, 53, 71, 65, 83, 65, 83, 77, 95, 67, 101, 87, 121, 83, 117, 103, 137, 87, 121, 107, 141, 103, 137, 123, 157, 101, 135, 121, 155, 117, 151, 137, 171, 121, 155, 141, 175, 137 (list; graph; listen)
OFFSET

0,1

EXAMPLE

a(0) = 0 + 0 + 2

a(1) = 2 + 1 + 2

a(2) = 4 + 1 + 2

a(3) = 6 + 3 + 2

a(4) = 8 + 1 + 2

PROGRAM

# ruby a=[]; 200.times{|i| a << i*2 + (i*2).to_s(2).reverse.to_i(2) + 2 }; p a

CROSSREFS

Adjacent sequences: A124200 A124201 A124202 this_sequence A124204 A124205 A124206

Sequence in context: A024374 A065219 A013660 this_sequence A077665 A025062 A030498

KEYWORD

nonn,base

AUTHOR

Simon Strandgaard (neoneye(AT)gmail.com), Dec 07 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 May 16 23:01 EDT 2008. Contains 139884 sequences.


AT&T Labs Research