2. Find the first ten terms of the sequence of pseudo-random numbers generated by the linear congruential method with and . What is the period length of this generator?
Solution
2. period length is 9
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.