|Posted: July 21, 2013, 8:25 pm - IP Logged|
Not sure how you are using binary in the above example. Base 2 binary only has 2 digits 0 or 1. It takes
10 digits to cover a P-3 in base-2. Each digit in the string repersents a value so to convert a binary string
to a numerical value add the values for each (1) like in the pic below. It takes 4 digits to cover the numbers
0 to 15
The LSD is the right most digit in a string and any time this digit is a 1 the number will be odd and likewise if the
LSD is 0 then the number will be even. Using a 2 digit binary string the highest numerical value is 1+2=3. 3 digits
is 1+2+4=7 etc... 10 digits = 1023 0000000000=0 to 1111111111 = 1023. Since 0000000000 counts as the lowest
value you have to always add 1 to the total numbers that can be repersented. Example. Using one binary digit you
have two values zero and one. Think of it like a pick-3 where you have 1000 combinations of 3 digits 000 to 999.
The 000 counts as the first set in the matrix. If you can explain a little more about what you are doing I might be
able to help. RL
Working on my Ph.D. "University of hard Knocks"
I will consider the opinion that my winnings are a product of chance if you are willing to consider
they are not.