To calculate the number of combinations of 5 numbers chosen from 1 to 30, we use the combination formula which is nCr = n! / (r!(n-r)!). In this case, n = 30 and r = 5. Plugging these values into the formula, we get 30! / (5!(30-5)!) = 142,506 total combinations.
Chat with our AI personalities
Well, darling, there are a whopping 142,506 combinations of 5 numbers that can be selected from a range of 1-30. So, good luck trying to win the lottery with those odds!
The number of combinations of r numbers out of n is
nCr = n!/[r!*(n-r)!] where n! = 1*2*3...*n
So here n = 30, r = 5 which gives
30*29*28*27*26/(5*4*3*2*1) = 142,506
As a product of its prime factors: 2*5*13 = 130
You can make 5 combinations of 1 number, 10 combinations of 2 numbers, 10 combinations of 3 numbers, 5 combinations of 4 numbers, and 1 combinations of 5 number. 31 in all.
31C5 = 169911
6
120 5x4x3x2x1=120