The hierarchy of correlations in random binary sequences

The meaning of randomness is studied for the simple case of binary sequences. Ensemble theory is used, together with correlation coefficients of any order. Conservation laws for the total amount of correlation are obtained. They imply that true randomness is an ensemble property and can never be achieved in a single sequence. The relation with entropy is discussed for different ensembles. Well-tempered pseudorandom sequences turn out to be suitable sources of random numbers, and practical recipes to generate them for use in large-scale Monte Carlo simulations are found.