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.