[Tutor] Determining periodicity of rand.randint()

Tony Cappellini cappy2112 at gmail.com
Sat Jan 31 21:39:36 CET 2009


Has anyone ever measured how random (or deterministic) a given sequence of
numbers generated by rand.randint() are?

Using these arguments for rand.randint(0, 10000000 )
if a program which calls rand.randint() runs for 10 hours (or a few days),
will it keep generating a repeatable set of numbers at some point? I'm
trying to understand the periodicity (or lack of) of the numbers generated
by rand.randint()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090131/279730bf/attachment-0001.htm>


More information about the Tutor mailing list