A simpler (albeit quite deterministic) way of accomplishing this is to use an LFSR [1] or the CRC [2] of an incrementing counter. Such a sequence of values "looks random" under many measures but also has the probability that you will eventually get an even distribution of values (after the period of the counter).
Comments (230) 51 threads
Show all comments
Showing thread 23 of 51
[1] https://en.wikipedia.org/wiki/Linear-feedback_shift_register
[2] https://en.wikipedia.org/wiki/Cyclic_redundancy_check