login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066330 Binary string which equals n when 1's, 2's, 4's and 8's bits have weights 1, 2, 4, 5 respectively, while the other bits have their usual weights. -1 if no such string exists. 1

%I #8 Feb 03 2020 15:25:08

%S 0,1,10,11,100,1000,1001,1010,1011,1100,1101,1110,1111,-1,-1,-1,10000,

%T 10001,10010,10011,10100,11000,11001,11010,11011,11100,11101,11110,

%U 11111,-1,-1,-1,100000,100001,100010,100011,100100,101000,101001,101010,101011,101100,101101,101110,101111,-1,-1,-1

%N Binary string which equals n when 1's, 2's, 4's and 8's bits have weights 1, 2, 4, 5 respectively, while the other bits have their usual weights. -1 if no such string exists.

%C There are engineering reasons for this encoding, but it is unsatisfactory from a mathematical point of view since 5 could equally well be 101.

%D John M. Yarbrough, Digital Logic Applications and Design, West Publishing, 1997, p. 26

%Y Cf. A066335, A066338.

%K sign,base

%O 0,3

%A _George E. Antoniou_, Dec 15 2001

%E More terms from _Joshua Zucker_, Jun 21 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 14:17 EDT 2024. Contains 371960 sequences. (Running on oeis4.)