0055. How do we represent numeric values from 0 to 20 in Binary?

 

 0     =    00000000

            +                1

            -------------------

1      =    00000001

            +                1

            -------------------

2      =    00000010

            +                1

            -------------------

3      =    00000011

            +                1

            -------------------

4      =    00000100

            +                1

            -------------------

5      =    00000101

            +                1

            -------------------

6      =    00000110

            +                1

            -------------------

7      =    00000111

            +                1

            -------------------

8      =    00001000

            +                1

            -------------------

9      =    00001001

            +                1

            -------------------

10    =    00001010

            +                1

            -------------------

11    =    00001011

            +                1

            -------------------

11    =    00001011

            +                1

            -------------------

12    =   00001100

            +                1

            -------------------

13    =   00001101

            +                1

            -------------------

14    =   00001110

            +                1

            -------------------

15    =   00001111

            +                1

            -------------------

16    =   00010000

            +                1

            -------------------

17    =   00010001

            +                1

            -------------------

18    =   00010010

            +                1

            -------------------

19    =   00010011

            +                1

            -------------------

20    =   00010100