cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A066335 Binary string which equals n when 1's and 2's bits have negative weights.

This page as a plain text file.
%I A066335 #8 Feb 03 2020 15:18:56
%S A066335 0,111,110,101,100,1011,1010,1001,1000,1111,1110,1101,1100,10011,
%T A066335 10010,10001,10000,10111,10110,10101,10100,11011,11010,11001,11000,
%U A066335 11111,11110,11101,11100,100011,100010,100001,100000,100111,100110,100101
%N A066335 Binary string which equals n when 1's and 2's bits have negative weights.
%D A066335 Morris M. Mano, Digital Design, Prentice Hall, 2002. p. 20.
%e A066335 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.
%Y A066335 A120634 is the decimal equivalent of these numbers in binary.
%K A066335 base,easy,nonn
%O A066335 0,2
%A A066335 _George E. Antoniou_, Dec 15 2001
%E A066335 More terms from _Sascha Kurz_, Jan 28 2003
%E A066335 Corrected and extended by _Joshua Zucker_, Jun 21 2006