An ancient PRNG.

Algorithm

  • Take an input > , square it, get the middle 4 digits as the output