News for hackers. Stuff that matters.
Re:How many draws of a random number [0,1] are needed to sum... by sbi on Sunday February 24, 2013 @04:58PM (#5276088)
This is a pretty solution, and it gives you the probability generating function for free: by some power series manipulation, the pgf of the number of draws needed is g(z) = 1 + (z-1)*exp(z). So you can show fairly easily that Var(draws needed) = 3e - e^2, for example ...

There are no comments on this comment yet.