<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Basically, I coded a Lehmer (Park Miller) pseudo random number generator (PRNG)<div><a href="https://en.m.wikipedia.org/wiki/Lehmer_random_number_generator#Parameters_in_common_use">https://en.m.wikipedia.org/wiki/Lehmer_random_number_generator#Parameters_in_common_use</a></div><div><br></div><div>Lehmer PRNGs are special cases of LCGs:<br><a href="https://en.m.wikipedia.org/wiki/Linear_congruential_generator">https://en.m.wikipedia.org/wiki/Linear_congruential_generator</a></div><div><br>I took n = 2^31-1 and g = <span style="background-color: rgba(255, 255, 255, 0);">48271</span></div><div><br></div><div>br</div><div>Jörg<br><div dir="ltr"><br>Am 23.03.2019 um 00:47 schrieb Jörg <<a href="mailto:joerg.straube@iaeth.ch">joerg.straube@iaeth.ch</a>>:<br><br></div><blockquote type="cite"><div dir="ltr"><span>You could take my RandomNumbers.Mod or program your own 😀</span><br><span>Jörg</span><br><span></span><br><blockquote type="cite"><span>Am 22.03.2019 um 19:52 schrieb Tomas Kral <<a href="mailto:thomas.kral@email.cz">thomas.kral@email.cz</a>>:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Hi,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>How can we do a random number, with a seed?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>-- </span><br></blockquote><blockquote type="cite"><span>Tomas Kral <<a href="mailto:thomas.kral@email.cz">thomas.kral@email.cz</a>></span><br></blockquote><blockquote type="cite"><span>--</span><br></blockquote><blockquote type="cite"><span><a href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems</span><br></blockquote><blockquote type="cite"><span><a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a></span><br></blockquote></div></blockquote></div></body></html>