Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 05-11-2011, 12:32   #11
Pumpkinstew
Absinthe
 
Pumpkinstew's Avatar
 
Join Date: Oct 2007
Location: Mostly Oxford, Sometimes Bristol
Posts: 1,156
Default

Quote:
Originally Posted by kaiowas View Post
Incidently if you had 11585 cards you'd be guaranteed that at least one pair would conflict.
Hmm, not sure about that. If you have 2^26 'bins' of 64 cards available to you and you assume that the cards are randomly and equally distributed through the entire range of values then you must need 2^26+1 cards to guarantee a duplicate.

You're right that I wrongly used factorial in my first post though. The wiki description of the birthday problem uses factorials in the soultion though and as best I can tell it's the same problem.
__________________

Get old, or die tryin'
PSTEWREVIEWS
- Chunks of Meaty Reviews, Mixed with Your Five a Day of News, Comment and Opinion, Floating in a Broth of Suspect Grammar and Seasoned Liberally with Mixed Metaphor. Tasty.
Pumpkinstew is offline   Reply With Quote
Old 06-11-2011, 20:58   #12
Mark
Screaming Orgasm
 
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
Default

For 100% probability of a duplicate, you would indeed need 2^26+1 cards. I'll take a guess that 11585 is the 'on average' (i.e. 50%) probability.
Mark is offline   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 +1. The time now is 23:58.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.