Welcome Guest
You last visited July 21, 2017, 6:24 am
All times shown are
Eastern Time (GMT-5:00)

# Binary code help

Topic closed. 1 reply. Last post 4 years ago by RL-RANDOMLOGIC.

 Page 1 of 1
Miramar, Fl
United States
Member #86216
January 31, 2010
80 Posts
Offline
 Posted: July 16, 2013, 1:17 pm - IP Logged

Hi all:
I am trying to work on a binary code for the pick 3 pairs. I know there are 3 and 6 way combos for pick 3 and I am trying to figure out how to do the pairs. I know the keys for each draw I can do that no problem but I want to use the binary code to put them in the correct order I use lotto add to do that. So say if I have the keys  3 8 0 6 4 5 1 2 this was for NY midday now what i want to do is a lotto add in the 3rd position. So the lotto add would look like this

lotto add 03 06 06 04 05 01 02 00

Now I want to know  so far I have these for binary pairs

00 01 10 02 20 03 30 04 40 05 50 06 60 07 70 08 80 09 90 I know that takes care of the 1st and 2nd but do I need a 3rd one?

How should I do that?
Any ideas would be great

Laundry is the only thing that should be seperated by color

United States
Member #59354
March 13, 2008
4316 Posts
Offline
 Posted: July 21, 2013, 8:25 pm - IP Logged

ed

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

0000=0

0001=1

0010=2

0011=3

0100=4

0101=5

0110=6

0111=7

1000=8

1001=9

1010=10

1011=11

1100=12

1101=13

1110=14

1111=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

....

 Page 1 of 1