This is the archived version of this course from the Spring 2013 semester. You might find something more recent by visitning my teaching page.
Write a Java, C++, or Python program to generate the first 500 values from a Lehmer linear congruential generator. Your program should take in three integers on the command line, for the values of m, a, and the seed \(X_0\), in that order.
Submit your program according to the instructions on the submit page.