Possible Duplicate:
Testing random variate generation algorithms
What's a good way to test a series of numbers to see if they're random (or at least psuedo-random)? Is there a good statistical measure of randomness that can be used to determine how random a set is?
More importantly, how can one prove a method of generating numbers is psuedo-random?