Main   Article 7Z70 by Richard Pavlicek

# Patterns and Freakness

How do you measure the freakness of a bridge hand? To most bridge players, the question is purely subjective, and you would get answers anywhere from “flat” or “square” for balanced hands to “wild and crazy” for fluke hands — the latter of which makes me wonder why Steve Martin never became a bridge player.

Years ago (I can’t believe it’s nearly 20) I worked out a method for this. The basic premise was that the flattest pattern (4-3-3-3) is given a “freakness” of zero (that surely makes sense) and all the other patterns gain points according to this rule:

 Add 1 point for each card over four or under three in each suit.

The rule seemed to work OK at first; for example, 4-4-3-2 would get 1 point (one suit under three cards) and 5-3-3-2 would get 2 points (one suit over four, and one suit under three). Unfortunately, the scheme also awarded 2 points for 4-4-4-1 (one suit with two cards under three), thereby equating a balanced hand to a hand with a singleton. This had to be fixed. After some more thought I came up with two adjustments, which apply to the hand as a whole:

 Add 1 point if the hand contains a singleton, or Add 2 points if the hand contains a void.

Note that the above are exclusive; you cannot add both. If a hand contains a void, it gets 2 extra points period, even if it also happens to have a singleton.

So what’s the reason for all this? The purpose is to be able to quantify the freakness of a bridge hand on a linear scale, much like point count is used to evaluate its strength. I have used this formula for a number of computer applications, such as my deal database and “computer bidding” programs. It facilitates decision making based on the shape of a hand. For example, a balanced hand is now simply defined as a hand with a maximum freakness of 2.

Applying the formula to the 39 generic hand patterns gives pleasing results. The patterns are ranked in an order that feels right. When two different shapes produce the same freakness number, it usually is difficult to judge one as more freakish than the other. For example, the patterns 4-4-4-1 and 5-4-2-2 both calculate to 3 points, and it’s a moot question which should be considered more unbalanced.

Freakness Table
PatternFPatternFPatternF
4-3-3-306-4-3-079-2-1-111
4-4-3-217-3-2-179-2-2-012
5-3-3-226-5-1-189-3-1-012
4-4-4-137-3-3-087-6-0-013
5-4-2-237-4-1-188-5-0-013
5-4-3-146-5-2-099-4-0-013
6-3-2-247-4-2-0910-1-1-113
6-3-3-158-2-2-1910-2-1-014
5-4-4-068-3-1-1910-3-0-014
5-5-2-168-3-2-01011-1-1-016
6-4-2-166-6-1-01111-2-0-016
7-2-2-267-5-1-01112-1-0-018
5-5-3-078-4-1-01113-0-0-020

Another pleasing aspect of the formula is the 0-to-20 scale, i.e., nice round numbers. Note that the extreme patterns grow quickly from 14 to 20, and the formula yields no freakness of 15, 17 or 19. I thought about the possibility of graduating the high-end values to 20, 19, 18, 17, etc., but this would only complicate the formula for no apparent advantage.

### Deal Freakness

Once the formula for hand freakness is developed, it is easy to quantify the freakness of an entire deal. The nature of a deal is determined by the composition of the four hands, so the obvious conclusion would be:

 The freakness of a deal is equal to the sum of the freaknesses of each hand.

Hence, the freakness of a deal ranges from 0 to 80, although the vast majority lie on the low end. There also are more unattainable numbers. For example, next to 80, the highest possible deal freakness would be 76 because if any of the 13-0-0-0 patterns were changed to 12-1-0-0, a second hand must also change. But we won’t be too worried about deals like that.

A curious puzzle is, “What is the lowest freakness value that cannot be obtained for a deal?” My calculations show the impossible numbers to be 79, 78, 77, 75, 73, 71 and 69, so the last would be the answer. Hmm… ‘69 was also the year of the moon landing and my wedding; some might say there’s a correlation. TopMain

## Average Freakness

The next question that comes to mind is, “What is the average freakness of a bridge hand?” This is not easily answered. There is no simple way to calculate it (at least I couldn’t think of one) so I approached it by brute force — the old pickax method.

For each hand pattern, I calculated the total number of bridge hands it could produce. This is done with combinatorial arithmetic. The number of combinations of N items taken R at a time (often abbreviated NcR) is determined by this formula:

N!

R!(N-R)!

The notation N! (N factorial) means the product of all integers from 1 through N. For example, 6! = 720. Also noteworthy is that 0! is defined as 1.

For example, to determine the number of 4-3-3-3 hands (say, with four spades) there are 13c4 ways to choose the spades, and 13c3 ways to choose each of the other suits. Multiplying (13c4 × 13c3 × 13c3 × 13c3) provides the total. But wait! That’s only the hands with four spades, so we must multiply by four to get the total number of 4-3-3-3 hands. This last factor indicates the number of ways the generic pattern can be permuted among the four suits, which will either be 4, 12 or 24, depending on the like digits in the pattern.

The values of the combinatorials (13c0 to 13c13) are shown in the chart below. Note the equality of any two numbers that add to 13, which should be obvious from the formula. (I have eliminated the “13” to save space in the chart and table.)

c0c1c2c3c4c5c6
c13c12c11c10c9c8c7
1137828671512871716

A calculation for all of the generic hand patterns is shown in the table that follows. To verify its accuracy, consider that the total of the hands column should equal the total number of bridge hands, which is 52c13 or 635,013,559,600. It does. Check it if you wish — just pretend you are balancing Bill Gates’s checkbook.

All that remains is to multiply the hand total of each pattern by its freakness in the right column (the first one shows that I wasted my time calculating 4-3-3-3 hands), add the results and divide by 635,013,559,600. The final tallies are shown at the end.

Rounding to two decimal places, the average freakness of a bridge hand is 2.98, and the average freakness of a full deal is four times that, or 11.93.

Number of Hands by Patterns
PatternCalculationHandsF
4-3-3-34 × c4 × (c3)³66,905,856,1600
4-4-3-212 × (c4)² × c3 × c2136,852,887,6001
5-3-3-212 × c5 × (c3)² × c298,534,079,0722
4-4-4-14 × (c4)³ × c119,007,345,5003
5-4-2-212 × c5 × c4 × (c2)²67,182,326,6403
5-4-3-124 × c5 × c4 × c3 × c182,111,732,5604
6-3-2-212 × c6 × c3 × (c2)²35,830,574,2084
6-3-3-112 × c6 × (c3)² × c121,896,462,0165
5-4-4-012 × c5 × (c4)² × c07,895,358,9006
5-5-2-112 × (c5)² × c2 × c120,154,697,9926
6-4-2-124 × c6 × c4 × c2 × c129,858,811,8406
7-2-2-24 × c7 × (c2)³3,257,324,9286
5-5-3-012 × (c5)² × c3 × c05,684,658,4087
6-4-3-024 × c6 × c4 × c3 × c08,421,716,1607
7-3-2-124 × c7 × c3 × c2 × c111,943,524,7367
6-5-1-112 × c6 × c5 × (c1)²4,478,821,7768
7-3-3-012 × c7 × (c3)² × c01,684,343,2328
7-4-1-112 × c7 × c4 × (c1)²2,488,234,3208
6-5-2-024 × c6 × c5 × c2 × c04,134,297,0249
7-4-2-024 × c7 × c4 × c2 × c02,296,831,6809
8-2-2-112 × c8 × (c2)² × c11,221,496,8489
8-3-1-112 × c8 × c3 × (c1)²746,470,2969
8-3-2-024 × c8 × c3 × c2 × c0689,049,50410
6-6-1-012 × (c6)² × c1 × c0459,366,33611
7-5-1-024 × c7 × c5 × c1 × c0689,049,50411
8-4-1-024 × c8 × c4 × c1 × c0287,103,96011
9-2-1-112 × c9 × c2 × (c1)²113,101,56011
9-2-2-012 × c9 × (c2)² × c052,200,72012
9-3-1-024 × c9 × c3 × c1 × c063,800,88012
7-6-0-012 × c7 × c6 × (c0)²35,335,87213
8-5-0-012 × c8 × c5 × (c0)²19,876,42813
9-4-0-012 × c9 × c4 × (c0)²6,134,70013
10-1-1-14 × c10 × (c1)³2,513,36813
10-2-1-024 × c10 × c2 × c1 × c06,960,09614
10-3-0-012 × c10 × c3 × (c0)²981,55214
11-1-1-012 × c11 × (c1)² × c0158,18416
11-2-0-012 × c11 × c2 × (c0)²73,00816
12-1-0-012 × c12 × c1 × (c0)²2,02818
13-0-0-04 × c13 × (c0)³420

Summary
Total number of hands (above)635,013,559,600
Total hands × freakness points1,894,153,566,372
Average hand freakness2.9828553071609
Average deal freakness11.9314212286436
TopMain

## Deal Patterns

Most bridge players know there are 39 generic hand patterns. But what about generic deal patterns? How many possible deal shapes exist? I doubt that anyone could answer this — myself included until I wasted some time recently. It is easy to calculate the number of possible deals, but enumerating the distinct patterns eludes any simple formula.

First, it is necessary to define the term “generic” for a deal pattern, as different interpretations are possible. Assume any one hand, say North, has a specific shape, say 5-3-3-2. Which other hand patterns could combine with this to produce a deal? One such possibility would be 5-3-3-2 | 3-4-2-4 | 4-1-4-4 | 1-5-4-3. The suits must align with the original pattern so each adds to 13, but the order of the hands doesn’t matter. Also, we are not concerned with permutations of the original 5-3-3-2, as this would create the same permutations in the other hands, i.e., the same generic deal.

Now, for some real number crunching. My first step was to calculate the number of deal shapes that could be produced by each of the 39 generic hand patterns. For example, if Hand 1 has 4-3-3-3 pattern, there are 96,537 possible deal shapes, but these are not generic. They include duplications from rotations or flip-flops between other hands, as well as many match-ups from other groups. I expanded each of the 96,537 shapes to find the number of deals it could produce, and this total is shown in the last column. [See table at end.]

To verify the calculations, I also included the permutation factor (4, 12 or 24) in the deal total, so in theory the grand total of the last column should equal the total number of bridge deals:

52!

(13!)4

Needless to say, I was quite pleased when the totals agreed. That’s the good news. The bad news was that I still had no answer. Somehow, I had to weed out the duplicates among 2,571,711 shapes. This could only be done by sorting, so I encoded each hand pattern as an index from 1-560 (that’s the number of hand patterns including permutations) and packed the three highest, in order, into a 32-bit value (the missing pattern could always be recalculated). Even with this coding, it produced a file of 10+ megabytes, which was tough to sort; but I’m persistent. After finally sorting the file, it was an easy matter to determine — sound the trumpets — the number of generic deal patterns:

412,666

Number of Deals by Patterns
Hand 1ShapesTotal Number of Deals
4-3-3-396,5375652079478333572557297024000
4-4-3-294,53011561071660227762049016640000
5-3-3-292,3678323971595363988675291980800
4-4-4-190,7751605704397253855840141200000
5-4-2-290,4445675435178657265005880896000
5-4-3-188,6956936642996136657229409984000
6-3-2-286,0763026898761950541336469811200
6-3-3-184,4081849771465636441927842662400
5-4-4-083,625666984903474678579750960000
5-5-2-184,8551702630553597179501764268800
6-4-2-182,6472522415634958784447058176000
7-2-2-277,748275172614722776485133619200
5-5-3-081,705480229130501768577420691200
6-4-3-079,575711450563706323818401024000
7-3-2-176,2361008966253983513778823270400
6-5-1-177,532378362345243817667058726400
7-3-3-073,392142290112741264763680204800
7-4-1-173,192210201302913232037254848000
6-5-2-076,125349257549455831692669593600
7-4-2-071,859194031971919906495927552000
8-2-2-166,246103189730521041181925107200
8-3-1-164,95363060390873969611176454400
8-3-2-063,76258209591575971948778265600
6-6-1-069,55238806394383981299185510400
7-5-1-067,41058209591575971948778265600
8-4-1-061,21524253996489988311990944000
9-2-1-153,6679554604677874183511584000
9-2-2-052,6744409817543634238543808000
9-3-1-051,6455389776997775180442432000
7-6-0-060,4802985107260306253783500800
8-5-0-056,3851679122833922267753219200
9-4-0-048,675518247788247613504080000
10-1-1-140,537212324548397204078035200
10-2-1-039,780587975672484565139174400
10-3-0-038,28082919646119618160652800
11-1-1-027,02713363083465558298617600
11-2-0-026,5206167576984103830131200
12-0-0-015,015171321582891773059200
13-0-0-0 5,565337912392291465600
Totals: 2,571,71153644737765488792839237440000
TopMain