logo elektroda
logo elektroda
X
logo elektroda

[Solved] The zero-one system - notation of numbers

Dyngole1 20889 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 15676720
    Dyngole1
    Level 5  
    I am looking for a simple table to write down the zero-one code, I had it 30 years ago in school and forgot. How to write e.g. 2016 in the zero-one system and a number e.g. 15. I would like a simple explanation.

    Thank you in advance for your help
  • ADVERTISEMENT
  • #2 15676735
    ZeeWolf
    Level 28  
    You divide a number modulo by two, write the rest down, and divide the result further. For example:
    
    15 / 2 = 7 reszty 1
     7 / 2 = 3 reszty 1
     3 / 2 = 1 reszty 1
     1 / 2 = 0 reszty 1
    

    so 15 in binary is 1111.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #4 15676759
    humbel
    Level 27  
    Usually dividing by 2. We divide the given number by 2 and if there is a remainder you enter next to 1 and if not 0
    27 | 1
    13 | 1
    6 | 0
    3 | 1
    1 | 1
    0 | -

    You enter these numbers from the top vertically to the horizontal from the left. So 11011. Number 27 (10) = 11011 (2)

    Now count the number 15 or 2016 this way, the results are 1111 and 11111100000. It's best to get a calculator with which you can calculate it in 5 seconds :)
  • #5 18794146
    Dyngole1
    Level 5  
    Thank you, I close the topic
ADVERTISEMENT