Checking sequences of results for randomness