Question: Explain using your knowledge of modular arithmetic to find out how many distinct random numbers can be generated using the following algorithm and seed =1.

Explain using your knowledge of modular arithmetic to find out how many distinct random numbers can be generated using the following algorithm and seed =1. Xn=Xn1mod231
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
