SIMPLE BUT EFFECTIVE MODIFICATION TO A MULTIPLICATIVE CONGRUENTIAL RANDOM-NUMBER GENERATOR

被引:1
作者
CHAMBERS, WG
DAI, ZD
机构
[1] UNIV LONDON KINGS COLL,ROYAL HOLLOWAY & BEDFORD NEW COLLEGE,DEPT MATH,LONDON WC2R 2LS,ENGLAND
[2] LINKOPING UNIV,DEPT ELECT ENGN,S-58183 LINKOPING,SWEDEN
来源
IEE PROCEEDINGS-E COMPUTERS AND DIGITAL TECHNIQUES | 1991年 / 138卷 / 03期
关键词
MATHEMATICAL TECHNIQUES; POLYNOMIALS;
D O I
10.1049/ip-e.1991.0016
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A popular form of random-number generator uses the recurrence s(k) = (As(k-1) mod 2e) with A and S0 odd to produce a pseudo-random sequence of integers in the range 0 to 2e - 1. We give a simple modification which increases the guaranteed period by an enormous factor with only a small computational overhead. The recurrence is changed to S(k) = (AS(k-1) + S(k-n) mod 2e) where n is such that x(n) + x + 1 is a primitive binary polynomial. The period is increased from 2e-2 to (2n - 1)2e-1. The overhead is an extra addition and the inclusion of a circular buffer of length n.
引用
收藏
页码:121 / 122
页数:2
相关论文
共 6 条
[1]  
Knuth D.E., 1981, ART COMPUTER PROGRAM, V2
[2]  
Lidl Rudolf, 1983, FINITE FIELDS
[3]   The arithmetical theory of linear recurring series [J].
Ward, Morgan .
TRANSACTIONS OF THE AMERICAN MATHEMATICAL SOCIETY, 1933, 35 (1-4) :600-628
[4]   ON PRIMITIVE TRINOMIALS (MOD 2) [J].
ZIERLER, N ;
BRILLHART, J .
INFORMATION AND CONTROL, 1968, 13 (06) :541-+
[5]   ON PRIMITIVE TRINOMIALS (MOD 2), 2 [J].
ZIERLER, N ;
BRILLHAR.J .
INFORMATION AND CONTROL, 1969, 14 (06) :566-&
[6]  
1988, NAGR FORTRAN LIBRARY, V6