login
A066335
Binary string which equals n when 1's and 2's bits have negative weights.
5
0, 111, 110, 101, 100, 1011, 1010, 1001, 1000, 1111, 1110, 1101, 1100, 10011, 10010, 10001, 10000, 10111, 10110, 10101, 10100, 11011, 11010, 11001, 11000, 11111, 11110, 11101, 11100, 100011, 100010, 100001, 100000, 100111, 100110, 100101
OFFSET
0,2
REFERENCES
Morris M. Mano, Digital Design, Prentice Hall, 2002. p. 20.
EXAMPLE
For example: 4-2-1 = 1, so a(1) = 111; 4-2+0 = 2 so a(2) = 110; 4+0-1 = 3 so a(3) = 101; 4+0+0 = 4 so a(4) = 100, etc.
CROSSREFS
A120634 is the decimal equivalent of these numbers in binary.
Sequence in context: A284083 A252724 A073502 * A107844 A084504 A134554
KEYWORD
base,easy,nonn
AUTHOR
George E. Antoniou, Dec 15 2001
EXTENSIONS
More terms from Sascha Kurz, Jan 28 2003
Corrected and extended by Joshua Zucker, Jun 21 2006
STATUS
approved