login
A066334
Binary string which equals n when 1's, 2's, 4's and 8's bits have weights 1, 2, 4, 2 respectively, while the other bits have their usual weights. -1 if no such string exists.
1
0, 1, 10, 11, 100, 101, 110, 111, 1110, 1111, -1, -1, -1, -1, -1, -1, 10000, 10001, 10010, 10011, 10100, 10101, 10110, 10111, 11110, 11111, -1, -1, -1, -1, -1, -1, 100000, 100001, 100010, 100011, 100100, 100101, 100110, 100111, 101110, 101111, -1, -1, -1, -1, -1, -1, 110000, 110001, 110010, 110011
OFFSET
0,3
REFERENCES
Morris M. Mano, Digital Design, Prentice Hall, 2002. p. 20.
CROSSREFS
Cf. A066335.
Sequence in context: A181891 A115846 A352103 * A136829 A262381 A278038
KEYWORD
easy,sign
AUTHOR
George E. Antoniou, Dec 15 2001
EXTENSIONS
More terms from Joshua Zucker, Jun 21 2006
STATUS
approved