1) enumerate every possible Baccarat hand

2) calculate the probability of that hand given the deck composition

3) calculate the result of each hand * the probability of it occurring

4) Sum the results

My challenge is actually enumerating every hand. The cool thing about Baccarat is that the whole universe of hands can be expressed as all 6 card subsets, even though most hands will not use 6 cards. The cards are valued 0-9 so there's 10^6 possible hands in a six-deck game, minus the hands that don't use 6 or 5 cards. Eliot Jacobson states that the total number of individual hands is 302,500 ....I got a different number 339400. He actually posted an excel sheet with every combination, but he stopped maintaining his site and the sheet is no longer available. Can anybody help me with the total number of hands or does anyone have access to Jacobson's sheet?

-Thanks!

Because the order of each side's first two cards doesn't matter, each side has 10*11/2=55 possibilities for its first two cards: 00, 01, 02, ..., 09, 11, 12, 13, ..., 19, 22, 23, ..., 29, 33, 34, etc., using 1 for A and 0 for X.

Thus, for the first four cards we have 55*55=3025 combinations.

The next two cards have 10*10=100 combinations.

Thus, the total is 302,500 as EJ claims.

Hope this helps!

Dog Hand

for Banker, combinations with repetition is 11!/(2!*9!) = 55Quote:railerEliot Jacobson states that the total number of individual hands is 302,500 ....I got a different number 339400. Can anybody help me with the total number of hands or does anyone have access to Jacobson's sheet?

https://www.mathsisfun.com/combinatorics/combinations-permutations-calculator.html

Types to choose from? 10

Number Chosen? 2

Is Order important? No

Is Repetition allowed? Yes

Combinations: 55

55^2 * 10^2 = 302,500

"have access to Jacobson's sheet" I have it

but miplet listed his

and

each hand (302,500) is not equal probable as you pointed out (I think)

"My challenge is actually enumerating every hand."

yes, some like to reinvent the wheel themselves

How do you actually want to do that?

One could do this by hand, if time is not a deciding factor.

Miplet: Great Spreadsheet. I did one almost exactly the same. Like you, I eliminated hands where the first two cards dealt to Player/Banker are reversed. Using this method, arrived at 103,411 unique hands, same as your result.

Doghand: Ahhhhh! I see where EJ gets that number from, and this is what was confusing. So, 302,500 is the number of possible 6 card subsets after eliminating the redundant first two card combinations. This answer isn't really complete, however, because many of these combinations aren't actual Baccarat Hands (ie. 095 vs. 123 wouldn't happen on a Bac. table). Also, Just as a general probability question...I understand how to calculate the 55 combinations of each side (10+9+8...+1), but how do you generalize that expression mathematically as 11*10/2 ?

Quote:"My challenge is actually enumerating every hand."

yes, some like to reinvent the wheel themselves

How do you actually want to do that?

One could do this by hand, if time is not a deciding factor.?

Dig it. Excel Row() Function down to 999,999---> multiply each number by .000001 (make sure numbers are formatted to 6 digits)----->text to columns and separate all the digits---->add 000000 by hand. You've got all 1M 6-card baccarat hands.

Now, use a series of IF() Functions with the rules of Baccarat to determine your 4,5,and 6 card hands----->Use Sort Functions to sort for 4 and 5-card hands and eliminate cards that won't appear (replacing blank spaces with a *)---->Use Concatenate() Function to bring each 6 cell hand together again. Now, you have a million hands with duplicates.

Highlight the row of hands and press the awesome "Remove Duplicates" function embedded in Excel. You're done. 90 mins tops.

Quote:railer<snip>Doghand: Ahhhhh! I see where EJ gets that number from, and this is what was confusing. So, 302,500 is the number of possible 6 card subsets after eliminating the redundant first two card combinations. This answer isn't really complete, however, because many of these combinations aren't actual Baccarat Hands (ie. 095 vs. 123 wouldn't happen on a Bac. table).

railer,

That's true. The spreadsheet also has to calculate the probability of each of the 302,500 combinations (based on the specified shoe composition), as well as the baccarat value of each. For the six-card subset you mentioned, the spreadsheet would score this as 9 vs. 3, with each side using 2 cards... at least that's how my spreadsheet does it.

Quote:railer<snip>Also, Just as a general probability question...I understand how to calculate the 55 combinations of each side (10+9+8...+1), but how do you generalize that expression mathematically as 11*10/2 ?

railer,

The sum of the integers from 1 to n is equal to n*(n+1)/2, so for n=10, we get 10*11/2 = 55.

Hope this helps!

Dog Hand