sum digit 60/6

jack

Member
Maybe like this: hello FRANK 60/6 please

If you want a combination of 6 two-digit numbers, that is 12 digits. So let's assume that you want 4 times 0, 3 times 1, 2 times 9 and 3 times 5, that is 12 all together. Now you need to arrange them into pairs to make numbers. I think that it will be easier to compose numbers 0..59, instead of 1..60, so in the end, you take 0 (i.e. 00) for 60.

Start with a line:

0,0,0,0,1,1,1,5,5,5,9,9

Here, you only have 10 digits (0, 1 and 5) which qualify for the first digit in numbers below 60. So you first choose 6 digits to take positions of the first digit in each number.

For a start, you choose a random number from 1..10. E.g. you get 5. You have digit 1 in the place number 5 (marked red), so you take it out. That will be the first digit of your first number. What is left is this:


0,0,0,0,1,1,5,5,5,9,9

Now choose a random number from 1..9. E.g., you get 3, where you find digit 0, so the first digit for the second number is 0. This is now left:


0,0,0,1,1,5,5,5,9,9

Etc. Let's say that you end up fith the following digits: 1,0,5,1,5,0


So, now you are left with a sequence:


0,0,1,5,9,9


For the second digit, all digits qualify. So you now choose a random number from 1..6. E.g., you get 4, which gives you digit 5. Etc.


Let's say that in the end, your second sequence is 5,0,1,9,0,9. This gives you your final combination:

15,00,51,19,50,09


This one is OK, but it could happen that the same number appears twice, so you might need to swap the last digits of two numbers in the end.
 

jack

Member
* For 60/6 (mega sena) macro in a planilia then I'm updating the sweepstakes
17 19 33 35 39 52
03 23 26 35 39 49
01 07 11 32 51 59
25 27 29 37 50 51
31 34 36 48 12 56
16 20 27 36 07 52
29 32 38 45 17 50
19 30 35 42 07 47
07 21 28 56 58 59
26 38 39 45 22 50
12 19 29 50 02 59
10 16 23 27 03 29
02 08 24 36 51 52
20 35 40 53 16 60
25 36 41 42 02 53
02 09 16 37 44 58
30 31 32 47 04 53
22 31 34 44 01 54
18 23 31 39 49 57
12 19 33 36 04 38
09 23 39 41 49 58
27 30 46 52 14 60
27 33 37 39 58 60
18 26 30 31 16 34
10 42 49 54 03 57
 

jack

Member
Hello FRANK can, create the new way of setting wheels with the amount of each digit
* The wheels can create macro, the initial and final digit or digit is the digit and quantity and generates macro, hit condition is hitting the sum settles
 

Sidebar

Top