Main Article 7Z73 by Richard Pavlicek

4531-3244-4306-2362

Argh. Looks just like a credit-card number. Hopefully, I won’t compromise somebody’s credit card in this article; but just in case, I’ll protect my ass with a disclaimer: *The numbers in this file are not related to credit cards*. [Knock at the door] Police officer: “Are you Richard Pavlicek? Then, you have the right to remain silent…”

The ordering of a specific dealprint is arbitrary. My practice is to start with West, if only to keep West on the left where it belongs. The other three hands follow in clockwise order: North, East and South. For suits in each hand, almost everyone is accustomed to the order by rank: spades, hearts, diamonds and clubs.

How many specific dealprints exist? To determine this, I found all the ways the 560* hand patterns could be packed into a deal. For each specific West shape, I found which North shapes would fit; then with those paired, which East shapes would fit — no further step was needed because, once three hands fit, whatever is left must represent the fourth hand. The total number of specific dealprints is exactly:

37,478,624

*Most people know that there are 39 generic hand patterns, but each of these can be permuted in 4, 12 or 24 ways to create 560 specific patterns. For example, the most common generic shape is 4-4-3-2, which comprises 12 specific shapes: 4=4=3=2, 4=4=2=3, 4=3=4=2, 4=3=2=4, 4=2=4=3, 4=2=3=4, 3=4=4=2, 3=4=2=4, 3=2=4=4, 2=4=4=3, 2=4=3=4 and 2=3=4=4.

The following table lists all the specific dealprints — well, not really, as most of them are missing. I only listed the first and last, and some random selections in between, although all 37,478,624 were calculated. (To receive the full table, please send me a stamped, self-addressed envelope — on second thought, better send a cargo ship to Port Everglades.)

The “Combinations” column shows the number of actual deals that can be created from each dealprint. To verify the accuracy of the table, I totaled the combinations and was pleased to see it agreed with the total number of bridge deals — 52!/(13!)4.

No. | Specific Dealprint | Combinations |
---|---|---|

1 | 000D-00D0-0D00-D000 | 1 |

2097153 | 0355-3721-5125-5242 | 867262910614016716800 |

4194305 | 0652-4504-3154-6133 | 281057424736023936000 |

7340033 | 1255-3343-2614-7231 | 4818127281188981760000 |

9437185 | 1534-5710-6025-1174 | 6883038973127116800 |

10485761 | 1723-2164-9121-1435 | 57358658109392640000 |

11534337 | 201A-6151-2542-3730 | 1147173162187852800 |

12582913 | 2164-3703-4072-4504 | 14339664527348160000 |

14680065 | 2443-0193-4702-7105 | 682841167968960000 |

16777217 | 2902-6061-2326-3154 | 6691843446095808000 |

18874369 | 3253-2452-2326-6412 | 25295168226242154240000 |

20971521 | 3550-4324-1318-5251 | 361359546089173632000 |

23068673 | 4144-1714-3460-5125 | 301132955074311360000 |

25165825 | 4441-4234-3352-2416 | 52698267138004488000000 |

26214401 | 4720-2317-5134-2272 | 147493692281295360000 |

28311553 | 5305-0364-4234-4540 | 351321780920029920000 |

31457281 | 6232-5242-1723-1246 | 3613595460891736320000 |

33554433 | 7132-5224-1480-0607 | 614557051172064000 |

35651585 | 8221-3514-0058-2650 | 645284903730667200 |

37478624 | D000-0D00-00D0-000D | 1 |

Total for 37478624 entries: 53644737765488792839237440000 |

For convenience in writing dealprints, I use hexadecimal for the numbers above nine. A = 10, B = 11, C = 12, D = 13.

3253-2452-2326-6412

The last group (6412) represents the South hand, which is forced by the first three groups. Therefore, the South hand can be omitted, and the same dealprint is reduced to 3253-2452-2326. Similarly, the club suit in each hand is fixed by the other three suits, so it also can be eliminated. This reduces the dealprint to only nine significant numbers, 325-245-232, which can be thought of as a 3×3 matrix with the rows representing West, North and East, and the columns representing spades, hearts and diamonds.

3 | 2 | 5 |

2 | 4 | 5 |

2 | 3 | 2 |

Does every 3×3 matrix represent a specific dealprint? No. There are 14^9 = 20,661,046,784 possible 3×3 matrices where each digit can be from 0 to 13, inclusive. In order to represent a valid dealprint, the matrix must pass three tests:

- 1. Sum of each row must be 13 or less.
- 2. Sum of each column must be 13 or less.
- 3. Sum of all digits must be 26 to 39, inclusive.

If the above conditions are true, the matrix represents one, and only one, specific dealprint. To verify this, I tested each of the 20+ billion possible matrices, and exactly 37,478,624 passed. This is the same number that I found by my previous method of counting dealprints, so it must be right. Either that, or I’m so far lost that I’ve come full circle.

In order to implement this I needed to devise a scheme to transform a specific dealprint to its generic equivalent. I decided that each generic dealprint should start with the hand containing the longest suit (rather than always West) with its suits arranged in descending order of length, i.e., the first hand would always be one of the 39 generic hand patterns. I will call this the dominant hand.

Another consideration was whether to allow the four hands to be permuted (like the suits), but I decided that keeping the order was important. This is especially significant when you consider the play rotation of the cards. If two hands are *swapped*, say North and East, the deal becomes quite different and should not be of the same generic type. Therefore, I only allow the hands to be rotated, which essentially changes nothing. By this method, the total number of generic dealprints is relatively small:

393,197

In my article “Patterns and Freakness” I used a different scheme to define generic shapes and found 412,666. The difference arises when two suits have identical patterns — the previous way did not account for this so they were considered unique.

To illustrate the transformation, consider this specific dealprint:

6232-5242-1723-1246

The dominant hand is East because it has the longest suit (seven hearts), so the hands are rotated to make East first. Note that the order of hands does not change as it becomes:

1723-1246-6232-5242

The next step is to arrange the suits of the first hand so its lengths are in order, longest to shortest. Since hearts is East’s longest suit, that suit will appear first, followed by clubs (next longest), diamonds and spades (shortest). Each change made in the first hand is replicated in the other three hands so the suit patterns around the table are unchanged. The final generic dealprint becomes:

7321-2641-2236-2245

The above example was easy, but what about ties? What if two or more hands have equally long suits? The dominant hand is then decided by the second longest suit, and if that still ties, the third longest suit. For example, 6421 wins against 6331, and 5431 wins against 5422. If two or more hands have identical dominant patterns, the tie is broken by the number of cards in its longest suit held by the *next* hand (clockwise), and if this ties, the next hand. If a tie still remains, it goes to the number of cards in its second longest suit held by the next hand, etc. If the tie cannot be broken, the dealprint is symmetrical, and it doesn’t matter.

Once the dominant hand is selected, if it has two (or three) identical suit lengths (e.g. 5332 or 7222), these are ordered by the length of the suit in the next hand (clockwise), or the next hand, etc. Here also, if a tie cannot be broken, it doesn’t matter. Below is a specific dealprint to illustrate tiebreaking:

6043-1741-1417-5242

Note that North and East tie for the dominant shape (7411). North wins because its seven hearts are followed by four hearts in East, while East’s seven clubs are followed by only two clubs in South. Rotating North to the front becomes temporarily:

1741-1417-5242-6043

Now there is another tie to break. Obviously, the suit order of the first hand will be 7411, but which of the 1’s (spades or clubs) should be first? (This matters because the two patterns are different around the table.) Since the next hand has longer clubs than spades, the club suit wins the tie, and the final generic pattern becomes:

7411-4171-2425-0436

Generic dealprints also contain redundant information and can be fully represented in a 3×3 matrix. The only difference (compared to specific dealprints) is that the top row represents the dominant hand (rather than West) and the suits are ordered by length in the dominant hand (rather than by rank). The above generic dealprint becomes:

7 | 4 | 1 |

4 | 1 | 7 |

2 | 4 | 2 |

A file with all 393,197 generic dealprints in order of frequency is available on the Bridge Utilities page.

Suit | Dealprints | Number of Deals | Percent |
---|---|---|---|

4 | 29 | 1571494042604960223750000000 | 2.9294 |

5 | 3297 | 21583251210971361009130800768 | 40.2336 |

6 | 32873 | 22642122348654241172787919872 | 42.2075 |

7 | 84837 | 6782984599117957218132857856 | 12.6443 |

8 | 101924 | 981975954511555218232092504 | 1.8305 |

9 | 84844 | 79298562143148725113050600 | 0.1478 |

10 | 52873 | 3532238785856985879197952 | 0.0065 |

11 | 24319 | 78122061820624147552512 | 0.0001 |

12 | 7269 | 685286242093646948664 | 0.0000 |

13 | 932 | 1351649568417019272 | 0.0000 |

Total | 393197 | 53644737765488792839237440000 | 100.0000 |

The next table lists the most common generic dealprints (all that occur more than 0.1 percent of the time). The “P” column shows the number of distinct permutations that exist to form specific dealprints. This number is usually 96 (387,681 cases), occasionally 48 (5371 cases), rarely 24 (140 cases) and even more rarely 16 (5 cases). The total number of deals is shown, followed by the percent occurrence. Two patterns share the top spot at just over 0.2 percent.

Generic Dealprint | P | Number of Deals | Percent |
---|---|---|---|

4432-3334-4333-2344 | 96 | 112422969894409574400000000 | 0.2096 |

4432-4333-3334-2344 | 96 | 112422969894409574400000000 | 0.2096 |

5332-2434-3334-3343 | 96 | 89938375915527659520000000 | 0.1677 |

5332-3433-2344-3334 | 96 | 89938375915527659520000000 | 0.1677 |

5332-3433-3334-2344 | 96 | 89938375915527659520000000 | 0.1677 |

5332-3334-2434-3343 | 96 | 89938375915527659520000000 | 0.1677 |

5332-2434-3343-3334 | 96 | 89938375915527659520000000 | 0.1677 |

5332-3334-3433-2344 | 96 | 89938375915527659520000000 | 0.1677 |

4432-4333-3244-2434 | 96 | 84317227420807180800000000 | 0.1571 |

4432-4234-3433-2344 | 96 | 84317227420807180800000000 | 0.1571 |

4432-4234-2443-3334 | 96 | 84317227420807180800000000 | 0.1571 |

4432-4333-2434-3244 | 96 | 84317227420807180800000000 | 0.1571 |

4432-4324-3343-2344 | 96 | 84317227420807180800000000 | 0.1571 |

4432-4243-3334-2434 | 96 | 84317227420807180800000000 | 0.1571 |

4432-4234-3343-2434 | 96 | 84317227420807180800000000 | 0.1571 |

4432-3343-3334-3334 | 48 | 74948646596273049600000000 | 0.1397 |

4432-3334-3334-3343 | 48 | 74948646596273049600000000 | 0.1397 |

4432-3334-3343-3334 | 48 | 74948646596273049600000000 | 0.1397 |

5332-3433-3343-2335 | 96 | 71950700732422127616000000 | 0.1341 |

5332-2434-3433-3244 | 96 | 67453781936645744640000000 | 0.1257 |

5332-3433-2434-3244 | 96 | 67453781936645744640000000 | 0.1257 |

5332-2434-3244-3433 | 96 | 67453781936645744640000000 | 0.1257 |

5422-3343-3334-2344 | 96 | 67453781936645744640000000 | 0.1257 |

5332-3424-2344-3343 | 96 | 67453781936645744640000000 | 0.1257 |

5332-3424-3343-2344 | 96 | 67453781936645744640000000 | 0.1257 |

5332-2434-2344-4333 | 96 | 67453781936645744640000000 | 0.1257 |

5332-2434-4333-2344 | 96 | 67453781936645744640000000 | 0.1257 |

5332-3433-3244-2434 | 96 | 67453781936645744640000000 | 0.1257 |

5332-4333-2434-2344 | 96 | 67453781936645744640000000 | 0.1257 |

5422-2344-3343-3334 | 96 | 67453781936645744640000000 | 0.1257 |

5422-3343-2344-3334 | 96 | 67453781936645744640000000 | 0.1257 |

4432-4324-2443-3244 | 96 | 63237920565605385600000000 | 0.1178 |

4432-4333-2344-3334 | 48 | 56211484947204787200000000 | 0.1047 |

4432-3334-3244-3433 | 48 | 56211484947204787200000000 | 0.1047 |

5332-3334-2533-3244 | 96 | 53963025549316595712000000 | 0.1005 |

5422-3343-3343-2335 | 96 | 53963025549316595712000000 | 0.1005 |

5332-2533-3244-3334 | 96 | 53963025549316595712000000 | 0.1005 |

5332-3424-3334-2353 | 96 | 53963025549316595712000000 | 0.1005 |

5422-2353-3334-3334 | 96 | 53963025549316595712000000 | 0.1005 |

5422-3343-2335-3343 | 96 | 53963025549316595712000000 | 0.1005 |

5332-3334-3424-2353 | 96 | 53963025549316595712000000 | 0.1005 |

5332-3433-2443-3235 | 96 | 53963025549316595712000000 | 0.1005 |

5332-3433-3235-2443 | 96 | 53963025549316595712000000 | 0.1005 |

© 2003 Richard Pavlicek