
Originally Posted by
PulverSchwein
Might it work out like this?
X=chance of one sonnet having these properties
answer = X*154
X=probability of all 14 lines of randomly generated text with 36 chars per line having at least one instance of "h", "e", and "s" and one of either "u" or "w"
Beyond that my total lack of statistics knowledge becomes blatantly apparent.
I believe you're on the right track.
You have a 1/26 chance of hitting an h, times 36 attempts
1/26 chance of hitting E, times 35 attempts (assuming you hit h)
1/26 chance of s times 34 attempts (assuming you hit h, e)
1/13 chance of u, w times 33 attempts (assuming h, e, s)
The equation 1-(failure chance)^attempts=probability
h=1-(25/26)^36
e=1-(25/26)^35
s=1-(25/26)^34
w,u=1-(24/26)^33
h*e*s*w,u=chance per line
(h*e*s*w,u)^14=chance per sonnet
1-(1-(h*e*s*w,u)^14)^154=monkey chance
edit: Fuck, way too slow. Nice work Blue.
edit edit: BZZT! Wrong! Order does not matter (move w,u to the first spot and the end number changes), you have 36 attempts for h,e,s,w,u
corrected letter probability
h=1-(25/26)^36=.756331278147
e=1-(25/26)^36=.756331278147
s=1-(25/26)^36=.756331278147
w,u=1-(24/26)^36=.943951476718
h*e*s*w,u=.408400112806
(h*e*s*w,u)^14=3.59088872396*10^-6
1-(1-(h*e*s*w,u)^14)^154=5.5284498062*10^-4
Last edited by DJSapp; 10-25-2005 at 08:58 AM.
I've concluded that DJSapp was never DJSapp, and Not DJSapp is also not DJSapp, so that means he's telling the truth now and he was lying before.
Bookmarks