JavaScript for pick 3 lottery system
Budget: $10 – $30 USD
JavaScript for pick 3 lottery system
I need the following made into a javascript
Formula as follows . . .
the user will enter any 3 digit number
We will be using the lottery digit mirror scale -> 0=5 1=6 2=7 3=8 4=9 and vise versa 5=0 6=1 7=2 8=3 9=4 *we are simply adding +5 to each digit in the number entered
we will also be using the lottery digits flip scale -> 0=3 1=4 2=5 3=6 4=7 5=8 6=9 7=0 8=1 9=2 and vise versa *we are simply adding +3 to each digit in the number entered
Example number entered = 530
Example Input = 530
now we mirror the number digits 530 = 085 using mirror scale above
now we flip the number digits 530 = 863 using flip scale above
arrangement will be . . .
085 = mirrored digits
530 = digits we started with
863 = flipped digits
085
530
863
now, system should create a digit string using the above arrangement in this exact order = 085530863 The 3 mirrored digits are first in the string, the original input 3 digits are second in the string, the 3 flipped digits are 3rd in the string.
the number string will create the following combinations by using "number of combinations with no repetition"
0 8 5, 0 8 5, 0 8 3, 0 8 0, 0 8 8, 0 8 6, 0 8 3, 0 5 5, 0 5 3, 0 5 0, 0 5 8, 0 5 6, 0 5 3, 0 5 3, 0 5 0, 0 5 8, 0 5 6, 0 5 3, 0 3 0, 0 3 8, 0 3 6, 0 3 3, 0 0 8, 0 0 6, 0 0 3, 0 8 6, 0 8 3, 0 6 3, 8 5 5, 8 5 3, 8 5 0, 8 5 8, 8 5 6, 8 5 3, 8 5 3, 8 5 0, 8 5 8, 8 5 6, 8 5 3, 8 3 0, 8 3 8, 8 3 6, 8 3 3, 8 0 8, 8 0 6, 8 0 3, 8 8 6, 8 8 3, 8 6 3, 5 5 3, 5 5 0, 5 5 8, 5 5 6, 5 5 3, 5 3 0, 5 3 8, 5 3 6, 5 3 3, 5 0 8, 5 0 6, 5 0 3, 5 8 6, 5 8 3, 5 6 3, 5 3 0, 5 3 8, 5 3 6, 5 3 3, 5 0 8, 5 0 6, 5 0 3, 5 8 6, 5 8 3, 5 6 3, 3 0 8, 3 0 6, 3 0 3, 3 8 6, 3 8 3, 3 6 3, 0 8 6, 0 8 3, 0 6 3, 8 6 3
notice that there are several numbers repeating in any order.
the system output should show only one version of each repeating number, and put them in acsending order only. it should also show the numbers that do not repeat, in any order, and they should also be shown in acsending order as well.
Example - the 085 in the group above repeats several times in different order, but it should be shown in the output only once in acsending order like this 058. another example is the 533 shows several times, but it should be shown only once in the output as 335.
The example output should show the following in acsending order
003 005 006 008 033 035 036 038 055 056 058 068 088 335 336 338 355 358 365 368 388 556 558 568 588 688
So, a member will enter into the box any 3 digit number and click run, the system will calculate the possible combinations and then the output will show like above
Name would be "Richy Rich Pick 3 Hot List"
Thanks
Richy Rich
I need the following made into a javascript
Formula as follows . . .
the user will enter any 3 digit number
We will be using the lottery digit mirror scale -> 0=5 1=6 2=7 3=8 4=9 and vise versa 5=0 6=1 7=2 8=3 9=4 *we are simply adding +5 to each digit in the number entered
we will also be using the lottery digits flip scale -> 0=3 1=4 2=5 3=6 4=7 5=8 6=9 7=0 8=1 9=2 and vise versa *we are simply adding +3 to each digit in the number entered
Example number entered = 530
Example Input = 530
now we mirror the number digits 530 = 085 using mirror scale above
now we flip the number digits 530 = 863 using flip scale above
arrangement will be . . .
085 = mirrored digits
530 = digits we started with
863 = flipped digits
085
530
863
now, system should create a digit string using the above arrangement in this exact order = 085530863 The 3 mirrored digits are first in the string, the original input 3 digits are second in the string, the 3 flipped digits are 3rd in the string.
the number string will create the following combinations by using "number of combinations with no repetition"
0 8 5, 0 8 5, 0 8 3, 0 8 0, 0 8 8, 0 8 6, 0 8 3, 0 5 5, 0 5 3, 0 5 0, 0 5 8, 0 5 6, 0 5 3, 0 5 3, 0 5 0, 0 5 8, 0 5 6, 0 5 3, 0 3 0, 0 3 8, 0 3 6, 0 3 3, 0 0 8, 0 0 6, 0 0 3, 0 8 6, 0 8 3, 0 6 3, 8 5 5, 8 5 3, 8 5 0, 8 5 8, 8 5 6, 8 5 3, 8 5 3, 8 5 0, 8 5 8, 8 5 6, 8 5 3, 8 3 0, 8 3 8, 8 3 6, 8 3 3, 8 0 8, 8 0 6, 8 0 3, 8 8 6, 8 8 3, 8 6 3, 5 5 3, 5 5 0, 5 5 8, 5 5 6, 5 5 3, 5 3 0, 5 3 8, 5 3 6, 5 3 3, 5 0 8, 5 0 6, 5 0 3, 5 8 6, 5 8 3, 5 6 3, 5 3 0, 5 3 8, 5 3 6, 5 3 3, 5 0 8, 5 0 6, 5 0 3, 5 8 6, 5 8 3, 5 6 3, 3 0 8, 3 0 6, 3 0 3, 3 8 6, 3 8 3, 3 6 3, 0 8 6, 0 8 3, 0 6 3, 8 6 3
notice that there are several numbers repeating in any order.
the system output should show only one version of each repeating number, and put them in acsending order only. it should also show the numbers that do not repeat, in any order, and they should also be shown in acsending order as well.
Example - the 085 in the group above repeats several times in different order, but it should be shown in the output only once in acsending order like this 058. another example is the 533 shows several times, but it should be shown only once in the output as 335.
The example output should show the following in acsending order
003 005 006 008 033 035 036 038 055 056 058 068 088 335 336 338 355 358 365 368 388 556 558 568 588 688
So, a member will enter into the box any 3 digit number and click run, the system will calculate the possible combinations and then the output will show like above
Name would be "Richy Rich Pick 3 Hot List"
Thanks
Richy Rich