The current random number logic is BY FAR the most accurate than in the past. Although, you can create your own algorithm using your formula to

**try** to create a better random generator but the odds are you will end up with more predictable algorithm.

https://en.wikipedia.org/wiki/Pseudo...mber_generator - Read here

current PRNG method is really good. You can test it easily. You can Generate 200-300 or more values using any algorithm, and divide the numbers's range into half. (For eg, if you created random numbers between 0 to 1, use 0.5 as mid point). Now, count how many random numbers are generated less than 0.5 and more than 0.5. If they are close to 50%, it means algorithm is

*almost* perfect.