# Math Help - base 6

1. ## base 6

obtain a binary code for all base 6 digits so that 5 complement is obtained by replacing 1 with 0 and vice versa...

2. So, if I understand the question right, you need to represent each "base 6 digit" by a string of 0's and 1's. Then, for example, a base-6 number with two digits $a_1a_2$ can be written as a binary number $b_1b_2b_3b_4b_5b_6$ where $b_1b_2b_3$ represent $a_1$ and $b_4b_5b_6$ represent $a_2$. Now, the trick is that "fives' complement" of $a_1a_2$ should be represented as $\bar{b}_1\bar{b}_2\bar{b}_3\bar{b}_4\bar{b}_5\bar{ b}_6$ where $\bar{0}=1$ and $\bar{1}=0$.

Do you know what "base 6 digit" and "fives' complement" are? Because not knowing this is like trying to cook "bouillabaisse" without knowing what it is...

3. yaa...i know at are base 6 digits...0 to 5...and 5 complement of a base 6 digit is just 5-digit......but i think this ques can hv infinite answers...