JavaScript is required to use Bungie.net

OffTopic

Surf a Flood of random discussion.
12/14/2013 7:47:02 PM
26

Anyone here crazy good at Probabillity?

As much as I like Math, Probabillity has always been one of the subjects that I struggle to develop an intuitive sense for. It's really something I should sit down and relearn one of these days... Anyways, I have a puzzle to present to anyone who would like to try to solve it. Its solution, or any ideas that could help me reach the solution, would be incredibly helpful for developing an Extra Credit Artificial Intelligence that can play a particular Card Game. Here is the problem: 1) You have a standard card deck with 52 cards, 4 suits, cards 2 through Ace per suit, standard stuff. 2) You are dealt a hand of size N, that contains A 4 of a Kinds, B 3 of a Kinds, C 2 of a Kinds, and D singles. So 4*A + 3*B + 2*C + D = N. 3) Given the hand size N, what is the probability of drawing a particular combination of A, B, C, and D? Assume that your input is always correct (so 4*A + 3*B + 2*C + D = N). That might be phrased awkwardly, so feel free to ask questions if that doesn't make any sense. I couldn't find any easy to use resources to solve it on my own in about 20 minutes of research, and really, anything, even a pointer in the right direction, will help tremendously. Thanks!

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

View Entire Topic
  • Only thing that is throwing me off in the problem statement is "3)" It is obvious that the input is always correct because any hand will satisfy the condition 4*A + 3*B + 2*C + D = N. So I don't really get number 3, because you have a 100% chance of drawing a combination of A, B, C, D; or am I misinterpreting something? I guess the confusion comes with the term particular combination. For example, does a hand with four 2's constitute the same particular combination as a hand with four 5's? So basically, since A still equals 1 (while B,C, and D are 0) it effectively is still the same particular combination. I will assume this and will go about a solution (which I have a good idea on how to achieve) unless you reply with additional clarification.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    1 Reply
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon