<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><br><div dir="ltr"><blockquote type="cite">…Whenever you append a new randombit 'r' from the random source,
do</blockquote></div><blockquote type="cite"><div dir="ltr">
<p>R = R*2 + r and C = C*2</p>
<p>Whenever you make a choice between K options,</p>
<p>R = R mod K and C = C div K….</p></div></blockquote><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Something is missing here. Probably multiple something’s.</span></div><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br></span></div><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">What’s the actual random choice? It can’t be R alone as then having returned 0, the next value returned is either 0 or 1. And the update for C is wonky - once C is 0, it remains 0 forever so it can’t actually contribute to the randomness.</span></div><div><br></div><div> -- Jerry</div></span><br></body></html>