UPDATE (1 January): The riddle was shortened from two parts to
one part, due to an error in one of the parts. Thanks go to Jan Fricke for
spotting it.
This riddle is a variation on IBM's Ponder This September 2011 challenge, based on an idea by Bart de Vylder.
A computer program receives a stream of integers that represent the values of
independent identically distributed random variables in the range
[0, ..., Describe (with proof) an algorithm for this. |
## List of solvers:Joseph DeVincentis (6 January 03:41)Omer Angel (15 January 10:05) |

Elegant and original solutions can be submitted to the puzzlemaster at __riddlesbrand.scso.com__.
Names of solvers will be posted on this page. Notify if you don't want
your name to be mentioned.

The solution will be published at the end of the month.

Enjoy!