Exact and Approximate Probabilities for the Null Distribution of Bartels Randomness Test