Correlations in the generalized feedback shift-register random-number generator are shown to be greatly reduced when the number of feedback taps is increased from two to four (or more) and the tap offsets are made large. Simple formulas for producing maximal-cycle four-tap rules from available primitive trinomials are given, and explicit three- and four-point correlations are found for some of those rules. Several generators are also tested using a simple but sensitive random-walk simulation that relates to a problem in percolation theory. While virtually all two-tap generators fail this test, four-tap generators with offsets greater than about 500 pass it, have passed tests carried out by others, and appear to be good multipurpose high-quality random-number generators. © 1998 American Institute of Physics.
Skip Nav Destination
Research Article| July 01 1998
Four-tap shift-register-sequence random-number generators
Robert M. Ziff; Four-tap shift-register-sequence random-number generators. Comput. Phys. 1 July 1998; 12 (4): 385–392. https://doi.org/10.1063/1.168692
Download citation file: