High Performance Computing 1
THE MTH$RANDOM ALGORITHM
•The VMS Run-Time Library provides a random number generator routine called MTH$RANDOM.
•       SEED = (69069*SEED + 1) MOD 2**32
•       X = SEED/2**32
•Note MTH$RANDOM satisfies the conditions above: i) 1 is relatively prime to 2**32 since 1 is relatively prime to all numbers.
•ii) 69068 is a multiple of 2, which is the only prime dividing 2**32.
•iii) 69068 is a multiple of 4.