Serving the Quantitative Finance Community

 
User avatar
animeshsaxena
Topic Author
Posts: 18
Joined: June 19th, 2008, 2:56 pm

100 Rings

April 6th, 2011, 4:59 pm

I said "Each person in turn enters the room and opens the boxes one after another until either he finds the box with his name or he has opened 50 of the 100 boxes. "So it can be less than 50 also.....
 
User avatar
animeshsaxena
Topic Author
Posts: 18
Joined: June 19th, 2008, 2:56 pm

100 Rings

April 6th, 2011, 5:04 pm

QuoteOriginally posted by: animeshsaxenaQuoteOriginally posted by: cm27874A variant to the problem: what if people are allowed to peek into n-1 boxes? The probability of all people finding their rings can then be made at least ( (n-1)/n) )^n, which converges to 1/e.Again, one can do slightly better by considering permutations. If everybody peeks into all boxes but the one with his own name on it, the probability is the fraction of fixed-point free permutations (derangements), i.e. !n / n!. This expression converges to 1/e as well but stays above ( (n-1)/n) )^n (I guess...). For n = 4 it is 243/768 vs. 288/768.I think u got it!Person 1 enters the room...opens first box...finds 4 written on it...so he opens box 4...he finds 10...and he opens 10...it's a permutation cycle.Probability of permutation cycle...is all u need to know...which gives answer > 30%Sorry I made a mistake. Ur problem is very different. Peeking into n-1 boxes is totally different. U can increase the probability without it!You can only look @ 50 boxes...out of 100....(50 is max)...but can be less than 50..if u see the ring earlier! NO PEEKING NO CHEATING!
Last edited by animeshsaxena on April 5th, 2011, 10:00 pm, edited 1 time in total.
 
User avatar
mj
Posts: 12
Joined: December 20th, 2001, 12:32 pm

100 Rings

April 7th, 2011, 12:23 am

I can achieve zero for the probability that everyone finds their own ring: agree that everyone opens the first 50 boxes.
 
User avatar
cm27874
Posts: 2
Joined: July 2nd, 2007, 12:10 pm

100 Rings

April 7th, 2011, 5:37 am

QuoteProbability of permutation cycle...is all u need to know...which gives answer > 30%Let me see... the probability of NOT everybody finding his ring is then equal to the fraction of permutations with a cycle of length > 50, which isNice!Just for completeness: in my variant of the problem, where n people are allowed to peek into n-1 of n boxes, the probability of everybody finding his ring can be made 1 - (n-1)! / n! = (n-1) / n.
Last edited by cm27874 on April 6th, 2011, 10:00 pm, edited 1 time in total.
 
User avatar
animeshsaxena
Topic Author
Posts: 18
Joined: June 19th, 2008, 2:56 pm

100 Rings

April 7th, 2011, 6:42 am

QuoteOriginally posted by: outrunYou said "The 100 boxes are taken to a closed room, randomly shuffled and put down in a row.", so I bought 100 boxed and did that experiment.., and my sequence ended up have 50 cycles! ..ah, the catch is that you changed names into numbers to be able to do this..without the catch condition...it will become a simple formula application
 
User avatar
wileysw
Posts: 7
Joined: December 9th, 2006, 6:13 pm

100 Rings

April 7th, 2011, 10:27 am

previously under the radar: here (and recently), which points to Warshauer's paper proving the strategy is indeed optimal with the specified setting
 
User avatar
animeshsaxena
Topic Author
Posts: 18
Joined: June 19th, 2008, 2:56 pm

100 Rings

April 7th, 2011, 1:23 pm

QuoteOriginally posted by: wileyswpreviously under the radar: here (and recently), which points to Warshauer's paper proving the strategy is indeed optimal with the specified settingThanks....thats very interesting