(January 17, 2022 at 11:21 am)polymath257 Wrote:(January 17, 2022 at 12:05 am)viocjit Wrote: The order of the numbers isn't a problem. It can be in any order.
I don't know anything or nearly nothing in combinatorics problem for PowerBall or any other lottery.
We imagine I want to play with 3 white numbers that are even and 2 white who are odd or 3 white numbers that are odd and 2 white even.
Also, I want to choose three numbers between 1 and 34 and two between 35 and 69 or three number between 35 and 69 and two between 1 and 34.
How calculate how many combinations I can play with 3 even and 2 odd (I have the same question for the reverse) and three between 1 and 34 then two between 35 and 69 (I have the same question for the reverse) ?
I don't know how to calculate the numbers of combinations with the limitations of my choice.
The limitations of my choice are those previously said in this message.
OK, I'll take you through one of the problems. The rest are done in a similar way.
First, there are 35 odd and 34 even numbers between 1 and 69. There are 13 odd and 13 even numbers between 1 and 26.
So, suppose you want 3 odd numbers and 2 even numbers between 1 and 69. I assume that order doesn't matter and no number can be repeated.
Then, there are 35*34*33 *ordered* ways to pick 3 odd numbers. Divide this by 3*2*1 ways of permuting those and we get 35*34*33/(3*2*1) ways to pick 3 even numbers between 1 and 69.
For the even, you will have 34*33/(2*1) possible ways.
Multiply these two numbers to get the total number of ways of picking 3 odd and 2 even numbers from 1 to 69:
(35*34*33/(3*2*1) * 34*33/(2*1) = 3561745 ways of picking white balls in this scenario.
You still need to pick the red balls, and if you only pick one, there are 26 ways t . So multiply
all together to find
3671745*26=9546370 ways.
This, by the way, will be the same as picking 3 balls from 35-69 (35 possibilities) and 2 from (1-34) (34 possibilities) and then one red ball.
By the way, this isn't mathematics as it is done today. You could have easily looked up the process online.
Thanks to had take time to answer me !
(35*34*33/(3*2*1) * 34*33/(2*1) I get with my calculator the next result : 3671745 but you get 3561745.
Numbers in bold indicate the different numbers in ours results.