As fireden.net is no longer providing archives for /a/ /v/ or /vg/ the automatic redirect will be disabled after 12/31/2019 (http://b2x5yoqpispzml5c.onion)
No.10979527 ViewReplyOriginalReport
This somewhat simple exercise is up on /g/ right now. It seems to present some difficulty for the average /g/ user. I have slightly rewritten it and present it for your amusement, you should certainly be able to solve this.

suppose you have a number generator that has the discrete uniform distribution on {0,1}

1. describe an algorithm for a number generator with the discrete uniform distribution on {0,1,2,3,4,5,6}

2. repeat (1) but your algorithm must terminate, or prove no such algorithm exists