A:
I've got a quick answer but without any testing (I was too lazy) so it may not be the best solution
A brief overview of how binary numbers work, and why we have this particular output.
binary numbers are a number stored using 1s and 0s. 0s are counted as empty spaces. The max number that we can have is two zeroes. (zepsilon=0). With zero bits, it's possible to store a max value of 1.
because we have only two zeroes we can get a max value of 0.
if we get a value of 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63
if we do binary check, 0001 1011 1100 1111....
10001= 1 1010=0
01101=2 01110=3
11001=4 11010=5
00111=6 00110=7
11011=8 1110=9
10111=10 10110=11
01111=12 01110=13
11111=14 1110=15
00101=16 00100=17
01101=18 01010=19
01011=20 01000=21
10101=22 10100=23
11101=24 11110=25
01111=26 01110=27
11111=28 11110=29
11011=30 11110=31
10111=32 10110=33
10101=34 10100=35
10011=36 10010=37
10111=38 10110= be359ba680
Related links:
Comments