Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A036044
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A036044 BCR(n): write in binary, complement, reverse. +0
9
1, 0, 2, 0, 6, 2, 4, 0, 14, 6, 10, 2, 12, 4, 8, 0, 30, 14, 22, 6, 26, 10, 18, 2, 28, 12, 20, 4, 24, 8, 16, 0, 62, 30, 46, 14, 54, 22, 38, 6, 58, 26, 42, 10, 50, 18, 34, 2, 60, 28, 44, 12, 52, 20, 36, 4, 56, 24, 40, 8, 48, 16, 32, 0, 126, 62, 94, 30, 110, 46, 78, 14, 118, 54, 86 (list; graph; listen)
OFFSET

0,3

LINKS

T. D. Noe, Table of n, a(n) for n=0..1023

R. K. Hoeflin, Mega Test

FORMULA

a(2n) = 2*A059894(n), a(2n+1) = a(2n) - 2^[log2(n)+1]. - Ralf Stephan (ralf(AT)ark.in-berlin.de), Aug 21 2003

EXAMPLE

E.g. 4 -> 100 -> 011 -> 110 -> 6.

MATHEMATICA

dtn[ L_ ] := Fold[ 2#1+#2&, 0, L ]; f[ n_ ] := dtn[ Reverse[ 1-IntegerDigits[ n, 2 ] ] ]; Table[ f[ n ], {n, 0, 100} ]

CROSSREFS

Cf. A035928, A030101, A056539.

Sequence in context: A095832 A143381 A140876 this_sequence A078991 A021833 A049257

Adjacent sequences: A036041 A036042 A036043 this_sequence A036045 A036046 A036047

KEYWORD

nonn,easy,base,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Erich Friedman (erich.friedman(AT)stetson.edu).

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 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research