in reply to Division Problem
When your randomx or randomy gets below some number where x*106 < 1, then you'll always get 1283.xxxx - which when modded with 6075 will always give you 1283, which, when divided, will give you the same answer.
Oh, and your pseudo-random number generator repeats... after 6075 iterations :)