A large colony of squirrels dug holes during the summer and in each hole, they put between 1 and 100 nuts (each quantity has the same probability).
If each squirrel has to eat 100 nuts during the winter, how many holes must he find (in average)?
Each hole contains 50.5 nuts in average, so 2 should be enough, right?
Ybbx sbe n pbairetrag frevrf. (Decode with http://www.rot13.com/)
(I appreciate it because it looks so simple but it is damned hard. If you like it, do not forget the up arrow. I often find help in Python and I wish to have enough points so my thanks are not only recorded but displayed, too. I will not get points by helping others, FORTRAN and dBaseIII are not very fashionable anymore and my C strongly stinks FORTRAN.)