April 6th, 2011, 10:27 am
QuoteOriginally posted by: animeshsaxenaThe worst is (1/2)^50.Why that? Do you mean (1/2)^100?In the general case with n people, n boxes, and n/2 peeks per person, one can do slightly better than (1/2)^n:- people with number <= n/2 peek into boxes 1, ..., n/2- people with number > n/2 peek into boxes n/2 + 1, ..., nThis way you get 1 / C(n, n/2). For n = 100 this is around 12.5 times higher than (1/2)^100, but 29% is out of reach. But who said that Sauron is playing fair?