Revision as of 17:38, 6 October 2008 by Jgeng (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I think there is another way to solve this problem and it may be quicker, the main concept is to break the process into the following steps:

1. Just assign 2 different coupons to the first candy and the last one 2. for the remaining n-2 coupons, just assign them randomly to the remaining x-2 candies 3. the remaining is candies without coupons

calculate the possibility of each step and then E and Var(x)

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang