

a - 1 is divisible by all prime factors of m,.m and the offset c are relatively prime,.So this means we can have numbers generated would be less than or equal to 90 but this cannot happen in all the cases unless they met the following conditions. In the given example here we could see that the modulus is 90 The following Script would help you understand the formula as well as the pros and cons of this kind. Please look at the paper by clicking the button "Read Paper", for detailed information about Random Number Generators Read Paper » Implementation Linear Congruential GeneratorĪ most important Random Number Generator which could be easily understandable is a Linear Congruential Generator.

To understand this lets look at an implementation in here. The rest of the randomīit generators which were developed using some strong mathematical logic and algorithms, fall intoĪ physical process is unpredictable by nature but what about mathematical logic or algorithms they are always predictable if we know the logic or the algorithm. Some physical process which are unpredictable, fall into class of NRBG’s. (NRBG) and Deterministic Random Bit Generators (DRBG). Random Number Generator was classified into two types, non-deterministic random bit generator But how can we say a sequence is predictable or not and hence comes the classification in Random Number GeneratorS. I am happy to listen from you, Send Email Thanks for reading How this works ?Ī random sequence is generated by the computer using a generators called Random Number Generator What is Random Number Generator ?Ī generator which can generate numbers that couldn't be able to predict.
