Edpokernut
Edpokernut
  • Threads: 3
  • Posts: 35
Joined: Dec 6, 2017
June 7th, 2019 at 6:10:39 PM permalink
This is racking my brain, please help!

Local bingo hall has a "lotto" using 20 balls numbered 1 thru 20.. Four numbers are selected from the machine.
We choose 4 numbers.
I know the odds of matching all four numbers are 1 in 4845.
And the odds of matching 3 numbers is 1 in 75.7 as there are a total of 64 combinations.

But I have tried repeatedly to write down all 64 combinations, but cannot come up with 64. arggg

Can someone list them for me or show me how to do so in excel?

TIA
beachbumbabs
beachbumbabs
  • Threads: 100
  • Posts: 14260
Joined: May 21, 2013
Thanked by
Edpokernut
June 7th, 2019 at 6:34:37 PM permalink
Quote: Edpokernut

This is racking my brain, please help!

Local bingo hall has a "lotto" using 20 balls numbered 1 thru 20.. Four numbers are selected from the machine.
We choose 4 numbers.
I know the odds of matching all four numbers are 1 in 4845.
And the odds of matching 3 numbers is 1 in 75.7 as there are a total of 64 combinations.

But I have tried repeatedly to write down all 64 combinations, but cannot come up with 64. arggg

Can someone list them for me or show me how to do so in excel?

TIA



Not an expert. But in any particular group of 4 numbers, there are only 4 ways to match exactly 3 of them.

There are 16 "other" numbers left of 20 possible that you didn't use.

So, if you substitute any of those other numbers for the one NOT selected, you have 17 "other" numbers that have AT LEAST 3 right.

Except.

One of those 16 "other" numbers has to be the 4th number. So you have to subtract that combination group back out.

That leaves you 16 total numbers not drawn.
x 4 ways each combination can have EXACTLY 3 right, 1 wrong. =64.

Which half-answers your question. That's where the 64 comes from (I think), but expressing it as a spreadsheet or series of formulae...well, I've proven many times I don't do that well.
If the House lost every hand, they wouldn't deal the game.
prozema
prozema
  • Threads: 24
  • Posts: 1194
Joined: Oct 24, 2016
Thanked by
beachbumbabsRomesEdpokernut
June 7th, 2019 at 7:42:05 PM permalink
I'll take a crack at the excel.

Example:
- You picked 1,2,3,4

Here are the 4 ways of getting 3 of 4 numbers correct.
1,2,3
1,2,4
1,3,4
2,3,4

16 balls remain for each option...

Here are the 64 ways:


Edit: I don't know why my embedded image isn't working. Babs?

Here is a link.
https://imgur.com/wuH53l3

Mod edit: added .png to your link that didn't have an extension. Got lucky and it worked. BBB

Response to mod edit: thanks BBB. You rock. Love, Prozema.
Last edited by: prozema on Jun 8, 2019
charliepatrick
charliepatrick
  • Threads: 39
  • Posts: 2946
Joined: Jun 17, 2011
Thanked by
Edpokernut
June 8th, 2019 at 4:35:23 AM permalink
Quote: Edpokernut

...I have tried repeatedly to write down all 64 combinations...

Let's assume you pick the numbers 1 2 3 and 4. Then ways to get three matches are in two parts (a) Three of the four numbers you've picked (b) One of the numbers you didn't pick.
(a) can be 123 124 134 or 234 (i.e. you can pick which one you didn't match, so there are four ways to di this).
(b) can be any one of 5 thru 20 (i.e. you have sixteen picks).
So the total number of combinations is 4 x 16. 1235 1236 1237 ... 123 20 .. 1245 ... 234 20.
ThatDonGuy
ThatDonGuy
  • Threads: 117
  • Posts: 6219
Joined: Jun 22, 2011
Thanked by
Edpokernut
June 8th, 2019 at 7:52:49 AM permalink
Quote: Edpokernut

And the odds of matching 3 numbers is 1 in 75.7 as there are a total of 64 combinations.

But I have tried repeatedly to write down all 64 combinations, but cannot come up with 64. arggg

Can someone list them for me or show me how to do so in excel?


Here's a "list" if your four numbers are 1, 2, 3, 4:
1, 2, 3, and anything from 5 to 20 - that's 16 combinations
1, 2, 4, and anything from 5 to 20 - that's another 16 combinations
1, 3, 4, and anything from 5 to 20 - that's yet another 16 combinations
2, 3, 4, and anything from 5 to 20 - that's 16 more combinations
Total = 64
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
Thanked by
Edpokernut
June 8th, 2019 at 8:32:18 AM permalink
Quote: Edpokernut

Can someone list them for me or show me how to do so in excel?TIA

The 64 are easy in Excel.
Try the 720 for 4 choose 2 with your method!

looks like you did 'hammer it out' (using your example of choosing 1,2,3,4)
itemindexitemindex
1,2,3,511,3,4,533
1,2,3,621,3,4,634
1,2,3,731,3,4,735
1,2,3,841,3,4,836
1,2,3,951,3,4,937
1,2,3,1061,3,4,1038
1,2,3,1171,3,4,1139
1,2,3,1281,3,4,1240
1,2,3,1391,3,4,1341
1,2,3,14101,3,4,1442
1,2,3,15111,3,4,1543
1,2,3,16121,3,4,1644
1,2,3,17131,3,4,1745
1,2,3,18141,3,4,1846
1,2,3,19151,3,4,1947
1,2,3,20161,3,4,2048
1,2,4,5172,3,4,549
1,2,4,6182,3,4,650
1,2,4,7192,3,4,751
1,2,4,8202,3,4,852
1,2,4,9212,3,4,953
1,2,4,10222,3,4,1054
1,2,4,11232,3,4,1155
1,2,4,12242,3,4,1256
1,2,4,13252,3,4,1357
1,2,4,14262,3,4,1458
1,2,4,15272,3,4,1559
1,2,4,16282,3,4,1660
1,2,4,17292,3,4,1761
1,2,4,18302,3,4,1862
1,2,4,19312,3,4,1963
1,2,4,20322,3,4,2064

There are macros that do this real fast, but you have to know how to work with them (and you did not mention that), so here is my Excel using just basic counting functions and the list for each 4C3 is the worksheet,
from that I copied and pasted just the values into 4C3(2) and removed all the columns except the 1st and last. from there it is easy to sort by last column and keep all the 1s.
you have to look to see what I am talking about. It took 1 minute for all the sheets.(I know what I am doing)

I start by listing all the 20Choose4 from here as it is easier for me
https://www.mathsisfun.com/combinatorics/combinations-permutations-calculator.html
imported that into Excel and did the formula for each column. I am very good at copy/paste

IF interested, here is my Excel sheet in Google (I did 4C3 and 4C2)
https://drive.google.com/open?id=1KWudM3qxAfBbl074szcAT-tka7XAIIKU
hope this can help out for the next attempt
winsome johnny (not Win some johnny)
Edpokernut
Edpokernut
  • Threads: 3
  • Posts: 35
Joined: Dec 6, 2017
June 8th, 2019 at 3:02:01 PM permalink
Thank you so much everyone! It looks so easy to see it now. Much appreciated!
  • Jump to: