Saturday

April 18, 2015

April 18, 2015

Posted by **John Berkhamp** on Monday, July 22, 2013 at 2:09am.

Xn+1=(aXn+c) mod m

X1 is the first pseudo-random number generated, X2 is the second, and so on. Let R be the 2000th pseudo-random number generated by the linear congruential generator when X0=42, a=25, c=31, and m=2^20. What are the last three digits of R?

- Data Structures and Algorithms -
**Aryaman**, Monday, July 22, 2013 at 8:50am938

- Data Structures and Algorithms -
**MathMate**, Monday, July 22, 2013 at 9:11amIf the question asks for the last digits, you could code and evaluate the recursive formula to get the results.

If you would like a check, you are welcome. The sum of the 3 last digits is 20.

**Answer this Question**

**Related Questions**

ap stats need help - Continuous Random Variable, I Let X be a random number ...

Math - A toothpaste company did a survey at the mall. They found that 42.5% of ...

Stats - Let Y be a random number between 0 and 1 produced by the idealized ...

ap stats - Continuous Random Variable, I Let X be a random number between 0 and ...

stats - Continuous Random Variable, I Let X be a random number between 0 and 1 ...

statistics - samples of size n=900 are randomly selected from the population of ...

alegbra - Which of the following are examples of inferential statistics? Check ...

Math, Please Help! - Suppose a dot is placed at random in a 10 x 10 graph grid ...

Probability - For each of the following statements, determine whether it is true...

statistics - A random number generator draws at random with replacement from the...