Is there a pseudo-random number generator simple enough to do in your head?

A linear feedback shift register is pretty simple, as long as you’re comfortable with thinking in binary (or maybe hex, since it’s easy to map between the two).

A more complex one is Xorshift, but if you know your bitwise operations, it should be quite possible to work with as well.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)