Group together identical elements:
Group equivalence classes according to an equivalence function:
Distribution of lengths of runs of 0s or 1s in the first million bits of

:
Distribution of lengths of runs of 0s or 1s in one million pseudorandom bits: