I need to generate random numbers in groups: 100, 500, 1000 and 10000 numbers uniforms and gaussians. This is necessary for create some histograms and other statistic stuff.
The condition is not to use python's native random function, so I was thinking to use this method (linear congruential generator): Xn+1 ≡ (aXn + c) mod m. Here I need 4 variables.
Can someone please tell me how can i implement this algorithm? I assume that the m variable the first time is 100

random.randint()" then any good RNG should be fair game to implement. If it was "I want to you implement an RNG that isn't Mersenne Twister so we can compare the two algorithms" then of course one cannot use MT.