IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Neato. I'll have to find Ruby for Win32. Thanks.
More on this topic is here:
[link|http://www.maa.org/mathland/mathtrek_11_23_98.html|Birthday Surprises]

It's possible to derive a simple formula that gives an approximate answer for the number required to get a 50-percent chance of a match. That number is 1.2 times the square root of the number of categories. For 365 categories (days of the year), the number is 1.2 multiplied by the square root of 365, or 23.

[...]

What about triple matches? That's a trickier calculation, but the answer turns about to be 88 people.


Cheers,
Scott.
Collapse Edited by Another Scott Aug. 13, 2004, 08:25:25 AM EDT
Check your code. :-)
[link|http://www.maa.org/mathland/mathtrek_11_23_98.html|Birthday Surprises]

It's possible to derive a simple formula that gives an approximate answer for the number required to get a 50-percent chance of a match. That number is 1.2 times the square root of the number of categories. For 365 categories (days of the year), the number is 1.2 multiplied by the square root of 365, or 23.

[...]

What about triple matches? That's a trickier calculation, but the answer turns about to be 88 people.


Cheers,
Scott.
New Cygwin is your friend
Both Ruby and Python interpreters are available there.
jb4
shrub\ufffdbish (Am., from shrub + rubbish, after the derisive name for America's 43 president; 2003) n. 1. a form of nonsensical political doubletalk wherein the speaker attempts to defend the indefensible by lying, obfuscation, or otherwise misstating the facts; GIBBERISH. 2. any of a collection of utterances from America's putative 43rd president. cf. BULLSHIT

New I've got Cygwin. I'll track down Ruby. Thanks, jb.
     Happy birthday deSitter! - (a6l6e6x) - (23)
         WOW. - (mmoffitt) - (16)
             Geez - had I known - (imric) - (1)
                 Re: Geez - had I known - (deSitter)
             Re: applied math guy - (a6l6e6x) - (3)
                 But we have 2 pairs. - (mmoffitt) - (2)
                     2 pairs are at least one pair! :) -NT - (a6l6e6x)
                     I'm not about to do a "odds of n people the same" program - (ben_tilly)
             Here's a program which SHOULD be correct - (ben_tilly) - (9)
                 Neato. I'll have to find Ruby for Win32. Thanks. - (Another Scott) - (2)
                     Cygwin is your friend - (jb4) - (1)
                         I've got Cygwin. I'll track down Ruby. Thanks, jb. -NT - (Another Scott)
                 And with minor optimizations - (ben_tilly)
                 "If I'm still interested in the morning ... " - (drewk) - (4)
                     I knew he couldn't resist ;-) -NT - (mmoffitt)
                     Well, it is not so technically morning now... - (ben_tilly) - (2)
                         And a better answer and algorithm improvements - (ben_tilly) - (1)
                             It's nice to see there's at least one person in the world... - (drewk)
         Re: Happy birthday deSitter! - (Nightowl)
         Why.. it's.. almost a Leo-nid Shower___Congrats all - - (Ashton)
         hey, happy belated... -NT - (cforde)
         Best wishes. - (Silverlock)
         Happy belated! -NT - (inthane-chan)
         ObAOLMeThree! -NT - (CRConrad)

10 PRINT "HELLO LRPD"
20 GOTO 10

115 ms