Automate my Pick 3 System with a JavaScript

Job ID: 33805524

Budget: $10 – $30 USD

JavaScript for pick 3 lottery system

I need the following made into a javascript

This system is based on the date

Example: todays date is 05/30/2022 but for the system we will use this format 530

Formula

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 date

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 date

Example date = 530

Example Input = 530
now we mirror the date digits 530 to = 085
now we flip the date digits 530 to = 863

arrangement will be 085 = mirrored date digits
530 = date digits we started with
863 = flipped date digits

now, create a digit string using the above arrangement in this exact order = 085530863 the 3 mirrored digits are first in the string, the date digits are second in the string, the flipped date digits are 3rd in the string.

the system output should show ONLY the duplicated "3 digit numbers" in the string that Repeat in "any order".
Example - the 008 repeats 6 times as 008 008 080 008 800 008 So, all 6 of these should be included in the output.

Example: 085530863 combinations

0 0 0, 0 0 8, 0 0 5, 0 0 5, 0 0 3, 0 0 0, 0 0 8, 0 0 6, 0 0 3, 0 8 8, 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 5, 0 5 3, 0 5 0, 0 5 8, 0 5 6, 0 5 3, 0 5 5, 0 5 3, 0 5 0, 0 5 8, 0 5 6, 0 5 3, 0 3 3, 0 3 0, 0 3 8, 0 3 6, 0 3 3, 0 0 0, 0 0 8, 0 0 6, 0 0 3, 0 8 8, 0 8 6, 0 8 3, 0 6 6, 0 6 3, 0 3 3, 8 8 8, 8 8 5, 8 8 5, 8 8 3, 8 8 0, 8 8 8, 8 8 6, 8 8 3, 8 5 5, 8 5 5, 8 5 3, 8 5 0, 8 5 8, 8 5 6, 8 5 3, 8 5 5, 8 5 3, 8 5 0, 8 5 8, 8 5 6, 8 5 3, 8 3 3, 8 3 0, 8 3 8, 8 3 6, 8 3 3, 8 0 0, 8 0 8, 8 0 6, 8 0 3, 8 8 8, 8 8 6, 8 8 3, 8 6 6, 8 6 3, 8 3 3, 5 5 5, 5 5 5, 5 5 3, 5 5 0, 5 5 8, 5 5 6, 5 5 3, 5 5 5, 5 5 3, 5 5 0, 5 5 8, 5 5 6, 5 5 3, 5 3 3, 5 3 0, 5 3 8, 5 3 6, 5 3 3, 5 0 0, 5 0 8, 5 0 6, 5 0 3, 5 8 8, 5 8 6, 5 8 3, 5 6 6, 5 6 3, 5 3 3, 5 5 5, 5 5 3, 5 5 0, 5 5 8, 5 5 6, 5 5 3, 5 3 3, 5 3 0, 5 3 8, 5 3 6, 5 3 3, 5 0 0, 5 0 8, 5 0 6, 5 0 3, 5 8 8, 5 8 6, 5 8 3, 5 6 6, 5 6 3, 5 3 3, 3 3 3, 3 3 0, 3 3 8, 3 3 6, 3 3 3, 3 0 0, 3 0 8, 3 0 6, 3 0 3, 3 8 8, 3 8 6, 3 8 3, 3 6 6, 3 6 3, 3 3 3, 0 0 0, 0 0 8, 0 0 6, 0 0 3, 0 8 8, 0 8 6, 0 8 3, 0 6 6, 0 6 3, 0 3 3, 8 8 8, 8 8 6, 8 8 3, 8 6 6, 8 6 3, 8 3 3, 6 6 6, 6 6 3, 6 3 3, 3 3 3

So, a member will input the 3 digit date number in the format as described above, the system will include the mirrored digits and the flipped digits, in the order shown above, and the output will show only the repeating 3 digit numbers as the playlist.

Name would be "Richy Rich Date Number System"

Thanks
Richy Rich
Related categories: PHP JavaScript HTML5 HTML jQuery / Prototype