The following warnings occurred:
Warning [2] Undefined array key 104044 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104051 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104174 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104201 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104247 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104272 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104274 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104304 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104330 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104174 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104274 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 104330 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





perfect bridge hands



#10

Forgive me if this is a repeat. I'm a recent member and I tried to search this topic.

Your challenge is to calculate the number of perfect bridge hands. There may be several ways to classify "perfect," but for the purpose of this challenge, perfect means any of the hands in this exercise will capture all 13 tricks of a legitimate declaration of 7 no-trump. The hand will stand alone with no contingincies as to distribution of the other 39 cards. Some hands are pure lay-downs and others might require an experienced bridge player to point out the proper sequence to play the cards. Accidental distribution in the dummy, or partial information gained by the initial lead can create other seemingly perfect hands, but a perfect hand stands on its own against all distribution contingencies, in other words, an experienced bridge player could demonstrate how the hand could take all 13 tricks by reference to the hand alone. To meet this standard, the hand would have to start with a stopper in all four suits - first clue.

Good luck to all who try,

Ron

I'll be back with my answer next Saturday (mine certainly subject to being wrong)


#11

First up we must have all four aces otherwise a bad lead will hurt.
That leaves 9 cards to consider. The possible distributions of the remaining nine cards and their frequencies are:

        suit    longest                      shortest   number of
lengths suit suit possibilities
9 . . . AKQxxxxxxx A A A 4 * 10c7
8 1 . . AKQJxxxxx AK A A 4 * 3 * 9c5
7 2 . . AKQJTxxx AKQ A A 4 * 3 * 8c3
7 1 1 . AKQJTxxx AK AK A 4 * 3 * 8c3
6 3 . . AKQJT9x AKQJ A A 4 * 3 * 7c1
6 2 1 . AKQJT9x AKQ AK A 4 * 3 * 2 * 7c1
6 1 1 1 AKQJT9x AK AK AK 4 * 7c1
5 4 . . AKQJT9 AKQJT A A 4 * 3
5 3 1 . AKQJT9 AKQJ AK A 4 * 3 * 2
5 2 2 . AKQJT9 AKQ AKQ A 4 * 3
5 2 1 1 AKQJT9 AKQ AK AK 4 * 3
4 4 1 . AKQJT AKQJT AK A 4 * 3
4 3 2 . AKQJT AKQJ AKQ A 4 * 3 * 2
4 3 1 1 AKQJT AKQJ AK AK 4 * 3
4 2 2 1 AKQJT AKQ AKQ AK 4 * 3
3 3 3 . AKQJ AKQJ AKQJ A 4
3 3 2 1 AKQJ AKQJ AKQ AK 4 * 3
3 2 2 2 AKQJ AKQ AKQ AKQ 4

where the suite lengths only count the 9 remaining cards (so the suits are actually one longer than the figures above), NcM is the combination function and the x's are cards of that suit but we don't care about their exact value. We can do this because e.g. if we've got 10 cards in the suit, there are only three outstanding and after we've played A, K & Q they are all gone.

So unless I've missed something here or made an error summing the various counts (both of which are quite likely), the number of possibilities is: 3756.

- Pauli


#12

Hi, Pauli, seems we're rhe only two interested, so I will jump ahead to Saturday to say that you and I agree on result and method of approach to solution. You are the first with the solution and I will leave it at that until Saturday just in case a late arrival wants to take the challenge. Of course, if your response doesn't fade by then,... well, it won't be a full challenge.

Several years ago, I responded to a columnist in the Dallas newspaper about this subject and they concluded that the awswer was 4 based on the trophy which was the distribution of your last hand ( TOP 4 3 3 3 ) adjusted for 4 suites. The Bridge columnist, I think it was Goren or someone like that, responded to my letter, and soothed me with, "You must know your way around a bridge table," but he never retracted his error.

Thanks for playing!

Ron

#13

Well, Ron, I'd certainly like to be able to try. However, every time I read the bridge column in a newspaper, I realize that even if after reading a thousand of 'em, I still wouldn't have Clue One about how to play bridge... :o)

-- KS


#14

Karl,

Kinda like poker in the sense that you need to confront the social aspect and communicate, not really limited to technical skills. I managed a group of technical specialists at IBM several years ago and they played bridge for lunch any time there were four or more in town. Based on the theory that top specialists were adept in both technical and communications skills I gladly requisioned tables and chairs for their library. The ritual of Bridge offered a relief from the intensity of the technical support groups in those days of much lower product reliability. It gave our team a high level subject for discussion away from the minframes and operating systems for at least 60 minutes.

Ron


#15

Also, bridge is pretty easy to get into. The rules are about as simple as they get in card games, and you can gradually work your way into the subtleties of bidding and playing over time. I can't think of any card game I have ever enjoyed more (except maybe poker, but that's different).

- Thomas


#16

Absolutely right, Thomas!

Few games have the following that lasts generations. Like you said poker's good, but different. A good national common denominator, bridge, except within a large sample of marriages. I think it begins with a more rapid learning rate of one spouse or more time by one to study a new game. As I said earlier, the game demands good communication skills in all ways not just the coded signals.

One most certainly does not need to know how to calculate solutions to puzzles to play the game. That is artificial, like composed problems in chess. There are over 635 billion bridge hands and nearly 2.6 million 5 card stud hands in a deck of 52. The chance of being dealt either one is pretty slim, so why bother with the math except for amusement?

Ron

#17

accoring to Pauli and I, the correct answer is 3756 perfect hands. The hands are contained within 18 formats with varying distributions among the models. Pauli sent the first response with the solution justified in a spreadsheet format. Why he (or someone) deleted the response I have no idea, but up to yesterday it still printed.

A little fun project for someone learning Excel might be to program a spreadsheet to solve the distribution of models after generating their profile description,i.e., AKQJ AKQ AKQ AKQ (or ( a little more difficult ), from the playing rules.

Ron


#18

Quote:
Why he (or someone) deleted the response I have no idea, but up to yesterday it still printed.

I don't see any deleted responses and I certainly haven't deleted by solution.


- Pauli


Possibly Related Threads…
Thread Author Replies Views Last Post
  A hands-on review of the HP Prime Adrien Bertrand 7 2,260 08-14-2013, 03:45 AM
Last Post: Juergen Keller
  ILPilbox (HP-IL Interface - PIL-Box Bridge) v1.1 Christoph Giesselink 5 1,695 11-04-2011, 10:30 AM
Last Post: Frido Bohn
  HP-15C Close to perfect Tommy 11 2,688 08-10-2011, 07:48 AM
Last Post: Paul Dale
  Hands on the 20b SDK Marcus von Cube, Germany 16 3,616 02-15-2011, 08:42 AM
Last Post: Marcus von Cube, Germany
  A perfect stranger gave me a HP-41CV today. hecube 11 2,642 09-09-2010, 07:12 AM
Last Post: Norman Dziedzic
  The perfect HP for the kitchen?! Mark Edmonds 6 1,764 10-29-2009, 05:52 AM
Last Post: Thomas Radtke
  OT: Mathamatics behind the perfect wiggle Vincze 4 1,353 08-29-2007, 03:18 PM
Last Post: Vincze
  How to engineer a perfect calculator in the 21st century Joerg Woerner 12 2,680 09-21-2004, 03:24 PM
Last Post: Chris Roccati
  The "Perfect" Grade School Calculator? Paul Brogger 32 6,521 03-03-2004, 09:23 AM
Last Post: Paul Brogger
  It's not too late for this perfect Valentine's gift sjthomas 1 791 02-15-2004, 03:04 PM
Last Post: David Smith

Forum Jump: