Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Science, Math, and Philosophy
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-02-2007, 06:19 PM
tshort tshort is offline
Senior Member
 
Join Date: May 2005
Posts: 1,143
Default Card Deck Arrangement Problem

Random 52 Card Deck. Probability all 4 aces are adjacent and all 4 kings are adjacent.

I am not seeing a simple way of counting the arrangements without dealing with a number of various cases. Does anyone have a simple approach to this problem?
Reply With Quote
  #2  
Old 10-02-2007, 06:39 PM
tshort tshort is offline
Senior Member
 
Join Date: May 2005
Posts: 1,143
Default Re: Card Deck Arrangement Problem

Cases approach:

Case 1: C(2,1) * C(2,1) * C(45,1) * 4! * 4! * 44!

1) C(2,1) Choose whether you are going to place aces or kings.
2) C(2,1) Place that set of four cards at the end of the deck or beginning of the deck.
3) C(45,1) Choose where to place the other set of four cards.
4) 4! Number of arrangements of one set of four (aces or kings).
5) 4! Number of arrangements of other set of four (aces or kings).
6) 44! Number of arrangements of rest of cards.

There will be a total of four special cases to get:

(2*45 + 2*44 + 2*43 + 46*42) * C(2,1) * 4! * 4! * 44!
Reply With Quote
  #3  
Old 10-02-2007, 10:00 PM
ALawPoker ALawPoker is offline
Senior Member
 
Join Date: Jul 2005
Location: Rochester, NY
Posts: 1,646
Default Re: Card Deck Arrangement Problem

(3/51)*(2/50)*(1/49)*(3/47)*(2/46)*(1/45) = answer
Reply With Quote
  #4  
Old 10-02-2007, 10:07 PM
Siegmund Siegmund is offline
Senior Member
 
Join Date: Feb 2005
Posts: 1,850
Default Re: Card Deck Arrangement Problem

Glue the 4 aces together. (Any of 24 suit-sequences.)
Glue the 4 kings together. (Any of 24 suit-sequences.)
Shuffle the resulting 46-card deck.

so, 4!4!46! possible sequences with the necessary cards adjacent, out of 52! possibilities, which simplifies to 1 / 20358520.
Reply With Quote
  #5  
Old 10-03-2007, 12:23 AM
sirio11 sirio11 is offline
Senior Member
 
Join Date: Aug 2003
Location: I\'m mad as hell and I can\'t take it anymore ....
Posts: 3,516
Default Re: Card Deck Arrangement Problem

Pretty nice Siegmund !
Reply With Quote
  #6  
Old 10-03-2007, 12:38 AM
tshort tshort is offline
Senior Member
 
Join Date: May 2005
Posts: 1,143
Default Re: Card Deck Arrangement Problem

[ QUOTE ]
(3/51)*(2/50)*(1/49)*(3/47)*(2/46)*(1/45) = answer

[/ QUOTE ]

3/51*2/50*1/49*3/47*2/46*1/45 = 2.961 x 10^-9

Whereas I believe the answer is:

(44!*4!*4!*(45*2 + 44*2 + 43*2 + 46*42))/52! = 4.16875 x 10^-8

How did you approach the problem?
Reply With Quote
  #7  
Old 10-03-2007, 12:55 AM
madnak madnak is offline
Senior Member
 
Join Date: Aug 2005
Location: Brooklyn (Red Hook)
Posts: 5,271
Default Re: Card Deck Arrangement Problem

I'm with Sieg. He takes the special cases into account and as far as I can tell he covers every specific permutation possible, so those / 52! should be correct. I'm not quite sure what you're doing, it seems like you're trying to separate out the kings and aces from the other 44 cards and deal with special cases individually, but doesn't the "glue solution" cover it?
Reply With Quote
  #8  
Old 10-03-2007, 01:20 AM
tshort tshort is offline
Senior Member
 
Join Date: May 2005
Posts: 1,143
Default Re: Card Deck Arrangement Problem

[ QUOTE ]
Glue the 4 aces together. (Any of 24 suit-sequences.)
Glue the 4 kings together. (Any of 24 suit-sequences.)
Shuffle the resulting 46-card deck.

so, 4!4!46! possible sequences with the necessary cards adjacent, out of 52! possibilities, which simplifies to 1 / 20358520.

[/ QUOTE ]

Thanks siegmund. Great solution. Makes me feel dumb not thinking of it that way!

Our answers differ by a very small amount which surely is due to me miscalculating something in my solution.
Reply With Quote
  #9  
Old 10-03-2007, 02:10 AM
ALawPoker ALawPoker is offline
Senior Member
 
Join Date: Jul 2005
Location: Rochester, NY
Posts: 1,646
Default Re: Card Deck Arrangement Problem

A better question would be WHY did I approach the problem, since I haven't been in a math class since high school, and since I wasn't really even sure what you were asking. So I'm not sure what I thought I could contribute. I'd blame it on the wine, but the wine and I had a good evening together, and I wouldn't ruin it like that.

I thought the question was that you have a deck of cards in a random order, and what are the chances that you have 4 aces and 4 kings in a row. So in my mind, I just imagined flipping through the deck. OK, here's an ace. 3 in 51 the next card is an ace. 2 in 50, 1 in 49. Then from the first king it's 3/47 that the next will be a king, etc. That's all I did. It was too simple though, and I guess you were either asking something else or I'm overlooking something dumb.
Reply With Quote
  #10  
Old 10-03-2007, 03:05 AM
tshort tshort is offline
Senior Member
 
Join Date: May 2005
Posts: 1,143
Default Re: Card Deck Arrangement Problem

[ QUOTE ]
A better question would be WHY did I approach the problem, since I haven't been in a math class since high school, and since I wasn't really even sure what you were asking. So I'm not sure what I thought I could contribute. I'd blame it on the wine, but the wine and I had a good evening together, and I wouldn't ruin it like that.

[/ QUOTE ]

Where would we be if people didn't attempt problems they weren't sure they would get right?

[ QUOTE ]
I thought the question was that you have a deck of cards in a random order, and what are the chances that you have 4 aces and 4 kings in a row. So in my mind, I just imagined flipping through the deck. OK, here's an ace. 3 in 51 the next card is an ace. 2 in 50, 1 in 49. Then from the first king it's 3/47 that the next will be a king, etc. That's all I did. It was too simple though, and I guess you were either asking something else or I'm overlooking something dumb.

[/ QUOTE ]

This appraoch leaves quite a few cases unaccounted for. Think about the number of places you could find that first ace or king. Your method is calculating one possible placement of the first ace and king.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.