random

March 16, 2016  |  By  | 


Category: Hobby

2Chapter9.RandomNumbers sequenceofintegersisdenedby x k 1 = ax k c mod m. Theoperation“mod m ”meanstaketheremainderafterdivisionby m .Forexample, with a =13, c =0, m =31,and x 0 =1,thesequencebeginswith 1 , 13 , 14 , 27 , 10 , 6 , 16 , 22 , 7 , 2