Another simple test determines the near-neighbor correlation in your
random sequence by taking the sume of products at a ``distance'' :
If your random numbers are distributed with a joint probability
distribution
and are independent and uniform, then
(95) must compare to the integral: