摘要 |
A method of generating a set of unique pseudorandom N-digit base-B integers includes the steps of selecting an integer A, wherein A is equal to or greater than 0 and equal to or less than BN-1, and adding to integer A an integer P, modulus BN, wherein P is equal to or greater than 0 and equal to or less than BN-1, and wherein P and N are relatively prime, to obtain a first element of the set. The method generates a second element of the set by adding P to the first element, modulus BN. The method generates the complete set of unique pseudorandom N-digit base-B integers by repeating the process BN times. Elements of the set may be used to populate a data set.
|