INVERSIVE CONGRUENTIAL PSEUDORANDOM NUMBERS AVOID THE PLANES

Similar documents
EXPONENTIAL SUMS OVER THE SEQUENCES OF PRN S PRODUCED BY INVERSIVE GENERATORS

Incomplete exponential sums over finite fields and their applications to new inversive pseudorandom number generators

Pseudo-Random Numbers Generators. Anne GILLE-GENEST. March 1, Premia Introduction Definitions Good generators...

Legendre s Equation. PHYS Southern Illinois University. October 18, 2016

POWER INTEGRAL BASES IN A PARAMETRIC FAMILY OF TOTALLY REAL CYCLIC QUINTICS

Tae-Soo Kim and Young-Kyun Yang

COUNTING NUMERICAL SEMIGROUPS BY GENUS AND SOME CASES OF A QUESTION OF WILF

Improved Discrepancy Bounds for Hybrid Sequences. Harald Niederreiter. RICAM Linz and University of Salzburg

CSCE 564, Fall 2001 Notes 6 Page 1 13 Random Numbers The great metaphysical truth in the generation of random numbers is this: If you want a function

A WEAK VERSION OF ROLLE S THEOREM

DECOMPOSITIONS OF MULTIGRAPHS INTO PARTS WITH THE SAME SIZE

SUBSPACE LATTICES OF FINITE VECTOR SPACES ARE 5-GENERATED

On Anti-Elite Prime Numbers

arxiv: v1 [cs.it] 12 Jun 2016

COUNTING SEPARABLE POLYNOMIALS IN Z/n[x]

A CONGRUENTIAL IDENTITY AND THE 2-ADIC ORDER OF LACUNARY SUMS OF BINOMIAL COEFFICIENTS

Homework 7 Solutions, Math 55

ON QUADRATIC ORBITAL NETWORKS

Homework 7 solutions M328K by Mark Lindberg/Marie-Amelie Lawn

AND RELATED NUMBERS. GERHARD ROSENBERGER Dortmund, Federal Republic of Germany (Submitted April 1982)

xp = 9- ZP, yp + z y (mod p), (2) SUMMARY OF RESULTS AND PROOFS CONCERNING FERMA T'S DZPARTMZNT OF PURi MATHZMATICS, UNIVZRSITY of TExAs

From now on we assume that K = K.

Cryptanalysis of the Quadratic Generator

The Fibonacci sequence modulo π, chaos and some rational recursive equations

FACTORS OF GENERALIZED FERMAT NUMBERS

Additional Practice Lessons 2.02 and 2.03

Algebraic function fields

Arithmetic properties of lacunary sums of binomial coefficients

ON CONGRUENCE PROPERTIES OF CONSECUTIVE VALUES OF P(N, M) Brandt Kronholm Department of Mathematics, University at Albany, Albany, New York, 12222

A RESULT ON RAMANUJAN-LIKE CONGRUENCE PROPERTIES OF THE RESTRICTED PARTITION FUNCTION p(n, m) ACROSS BOTH VARIABLES

Zhi-Wei Sun Department of Mathematics, Nanjing University Nanjing , People s Republic of China

Pseudorandom Sequences I: Linear Complexity and Related Measures

Sums of Squares. Bianca Homberg and Minna Liu

Some examples of two-dimensional regular rings

Some Observations on Interpolation in Higher Dimensions

An Elementary Proof that any Natural Number can be Written as the Sum of Three Terms of the Sequence n2

A short proof of Klyachko s theorem about rational algebraic tori

NON-LINEAR COMPLEXITY OF THE NAOR REINGOLD PSEUDO-RANDOM FUNCTION

IN QUASI-MONTE CARLO INTEGRATION

Factorization in Integral Domains II

A Heuristic Asymptotic Formula Concerning the Distribution of Prime Numbers

ON UNIVERSAL SUMS OF POLYGONAL NUMBERS

PolynomialExponential Equations in Two Variables

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

EXPONENTIAL SUMS EQUIDISTRIBUTION

Lifting to non-integral idempotents

On the indecomposability of polynomials

SUM-PRODUCT ESTIMATES APPLIED TO WARING S PROBLEM MOD P

Exponential sums and the distribution of inversive congruential pseudorandom numbers with prime-power modulus

MATH FINAL EXAM REVIEW HINTS

Covering Subsets of the Integers and a Result on Digits of Fibonacci Numbers

Sieving 2m-prime pairs

Running Modulus Recursions

Applications of Lattice Reduction in Cryptography

Definable henselian valuation rings

Ranks of Hadamard Matrices and Equivalence of Sylvester Hadamard and Pseudo-Noise Matrices

Global Attractivity in a Higher Order Nonlinear Difference Equation

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

SEPARATION AXIOMS FOR INTERVAL TOPOLOGIES

On the Distribution of Multiplicative Translates of Sets of Residues (mod p)

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 6. Unique Factorization Domains

Parity of the Number of Irreducible Factors for Composite Polynomials

MATH 115, SUMMER 2012 LECTURE 12

On Systems of Diagonal Forms II

A Proof of the Lucas-Lehmer Test and its Variations by Using a Singular Cubic Curve

Analysis I (Math 121) First Midterm Correction

Mathematical Journal of Okayama University

ON DIVISIBILITY OF SOME POWER SUMS. Tamás Lengyel Department of Mathematics, Occidental College, 1600 Campus Road, Los Angeles, USA.

Section III.6. Factorization in Polynomial Rings

Dynamics of finite linear cellular automata over Z N

Notes on Systems of Linear Congruences

On the power-free parts of consecutive integers

Colloq. Math. 145(2016), no. 1, ON SOME UNIVERSAL SUMS OF GENERALIZED POLYGONAL NUMBERS. 1. Introduction. x(x 1) (1.1) p m (x) = (m 2) + x.

The Distribution of Generalized Sum-of-Digits Functions in Residue Classes

NOTES ON FINITE FIELDS

Math Homework # 4

L(3, 2, 1)-LABELING FOR CYLINDRICAL GRID: THE CARTESIAN PRODUCT OF A PATH AND A CYCLE. Byeong Moon Kim, Woonjae Hwang, and Byung Chul Song

Fermat numbers and integers of the form a k + a l + p α

Corrigendum to On the undecidability of implications between embedded multivalued database dependencies [Inform. and Comput. 122 (1995) ]

PREDICTING MASKED LINEAR PSEUDORANDOM NUMBER GENERATORS OVER FINITE FIELDS

Analytic Number Theory Solutions

Notes on Continued Fractions for Math 4400

Today. Polynomials. Secret Sharing.

SOME VARIANTS OF LAGRANGE S FOUR SQUARES THEOREM

MATH 101A: ALGEBRA I, PART D: GALOIS THEORY 11

SUCCESSIVE-MINIMA-TYPE INEQUALITIES. U. Betke, M. Henk and J.M. Wills

R. Popovych (Nat. Univ. Lviv Polytechnic )

A Few Primality Testing Algorithms

DIGITAL EXPANSION OF EXPONENTIAL SEQUENCES

DICKSON POLYNOMIALS OVER FINITE FIELDS. n n i. i ( a) i x n 2i. y, a = yn+1 a n+1 /y n+1

ON PERMUTATION POLYNOMIALS OF PRESCRIBED SHAPE

Optimal global rates of convergence for interpolation problems with random design

A Generalization of Wilson s Theorem

Review of Statistical Terminology

A NOTE ON A YAO S THEOREM ABOUT PSEUDORANDOM GENERATORS

Journal of Combinatorics and Number Theory 1(2009), no. 1, ON SUMS OF PRIMES AND TRIANGULAR NUMBERS. Zhi-Wei Sun

Global Attractivity of a Higher-Order Nonlinear Difference Equation

Explicit solution of a class of quartic Thue equations

Note on shortest and nearest lattice vectors

CONTINUED FRACTIONS, PELL S EQUATION, AND TRANSCENDENTAL NUMBERS

Transcription:

mathematics of computation volume 56. number 193 january 1991, pages 297-301 INVERSIVE CONGRUENTIAL PSEUDORANDOM NUMBERS AVOID THE PLANES JÜRGEN EICHENAUER-HERRMANN Abstract. Nonlinear congruential pseudorandom number generators based on inversions have recently been introduced and analyzed. These generators do not show the lattice structure of the widely used linear congruential method. In the present paper it is proved that the points formed by d consecutive pseudorandom numbers of an inversive congruential generator with prime modulus possess an even stronger property: Any hyperplane in (/-space contains at most d of these points, that is to say, the hyperplane spanned by d arbitrary points of an inversive congruential generator contains no further points. This feature makes the inversive congruential method particularly attractive for simulation problems where linear structures within the generated points should be avoided. 1. Introduction The well-known lattice structure of linear congruential pseudorandom numbers makes them too regular for certain simulation purposes [2], This defect of the linear congruential method was first pointed out by G. Marsaglia in his famous paper Random numbers fall mainly in the planes [4]. Therefore, nonlinear congruential pseudorandom number generators, which do not show the undesirable lattice structure, have been proposed and studied recently (cf. [1,2, 3, 5, 6, 7]). In the present paper a nonlinear congruential generator based on inversions with respect to a prime modulus is considered. Let p > 3 be a prime number, and denote by Z = {0, 1,..., p - 1} and Zp,={1,2.p - 1} the set of nonnegative and the set of positive integers less than p, respectively. For an integer x G Zp,, let x~ be the multiplicative inverse of x modulo p. For integers a, b G Z, an inversive congruential sequence (xn)n>0 in Zp is obtained by the recursion x = i ax»l+b imodp) for* ^ > n>q "+1 \b fotxn = 0, In [2], conditions are derived for the generated sequence to have maximal period length p, which we assume to be true from now on. For example, the sequence has period length p if x - bx - a is a primitive polynomial over the finite field Z. Received November 30, 1989. 1980 Mathematics Subject Classification (1985 Revision). Primary 65C10; Secondary 11K45. 1991 American Mathematical Society 0025-5718/91 $1.00+ $.25 per page 297

29X JÜRGEN EICHENAUER-HERRMANN Let d be an integer with 2 < d < p, and denote by vd^{ixh,.:,xa+d_l)efp\xh,...,xh+d_2^0, 0 <«</?} the set of /-tuples of consecutive pseudorandom numbers generated by the inversive congruential method, where those -tuples are omitted which contain a zero in one of the first d - 1 coordinates. These d - 1 "boundary" points are excluded for the sake of simplicity. For arbitrary integers q0, a,,..., ad g Z with (ax,..., ad) ± (0,..., 0) the set H = {(zx,..., zd)gldp\axzx + --- + adzd = aq (mod/?)} is a hyperplane in Z. The main result of the present paper, which is proved in 3, is given in the following theorem. Theorem. Any hyperplane H in Z contains at most d points of the set Vd. This result demonstrates that, in contrast to the linear congruential method, inversive congruential pseudorandom numbers do not fall in the planes, they even "avoid" concentrating on any hyperplane. Therefore, the inversive congruential method seems to be particularly suitable for simulation problems where linear structures within the generated points may influence the simulation outcome, e.g., in simulating certain geometric probabilities. 2. Auxiliary results First, some further notation is necessary. A: Vi ~^Z/> isgivenby fx(x) = ax~ +b Put Z 0 = Z. A function (mod/?), and for k with 2 < k < p, sets Zp k and functions fk : Zp k Z are defined recursively by h.k = {x^p,k-x\fk-iix)^^ and fk(x) = fx(fk_x(x)), respectively. Let n0: Z > Z with n0(x) = x be the identity on Z, and for k with 1 < k < p, define functions nk : Z. Z by k nk(x) = xy[fj(x) (mod 77). 7=1 A linear congruential sequence (Tn)n>0 in Z t = bxn_x +axn_2 (mod/?), n>2, is given by t0 = 0, tx = \, and and for k with 0 < k < p, linear functions lk : Zp» Zp are defined by lk(x) = rk+xx + Tka (mod/?).

INVERSIVE CONGRUENTIAL PSEUDORANDOM NUMBERS 299 Lemma 1. Let 0 < k < p. The function nk is the restriction of the linear function lk to the set Z k, i.e., nk(x) = lk(x) for x e Z k. Proof. The lemma is proved by induction on k. For k = 0 the assertion follows from t0 = 0 and t, = 1. If it is valid for some integer k with 0 < k < p - 1, then nk+x(x) = xnk(f(x)) = xlk(fx(x)) = x(tk+xfx(x) + xka) = x(rk+x(ax~i +b) + xka) = (bxk+x+axk)x + xk+xa for x G Z k+x, which completes the proof. = xk+2x + rk+ia = lk+iix) (mod/?) It follows from the results in [2] that xx,..., xp ^ 0. Therefore, t\k G Z with tk = -x~kl\xka i dp) is the unique zero of the linear function lk for 0 < k < p. x are pair- Lemma 2. The zeros 0,..., <L _, of the linear functions l0,..., I wise different, i.e., { 0,..., p_,} = Zp. D Proof. For 1 < k < p, define integers yk G Zp by yk = Tfc+IT^ (mod/?). Then yk+i = ibh+i+ah)rm = ayk +b(modp), \<k<p, i.e., yx,..., y are the first p elements of an inversive congruential sequence with maximal period length p, which implies that {yx,..., y } = Z. Because of Zk-b~yk+i imodp)» 0<k<p, the integers ;0,..., ^, are pairwise different. D For arbitrary integers aq, ax,..., ad gz with (ax,..., ad) ^ (0,...,0), a polynomial Pd : Zp * Zp is defined by d Pd(x) = (axx-a0)y[lj(x) + Yaklk-\ix) II lm) imodp)- k=2 jjtk-2 Lemma 3. The polynomial Pd has at most d zeros. Proof. First, we prove by contradiction that the polynomial Pd is not identically zero. Indeed, assume that Pd(x) = 0 for every xëzp. Since (. is the zero of the linear function /(, it follows that 1*1

300 JÜRGEN EICHENAUER-HERRMANN for 0 < i < d - 2. Hence, the assumption Pd(C ) = 0 and Lemma 2 imply that a;+2 = 0 for 0 < / < d - 2 which yields Pd(x) = (axx - aq) Yl lj(x) (mod p) for x G Z. Therefore, it follows from the assumption Pd(Zd_x) = PdiZd) = 0 and Lemma 2 that a, = 0, which contradicts (ax,..., ad) ^ (0,..., 0) and shows that the polynomial Pd is not identically zero. This proves the lemma, since Pd is at most of degree d. G 3. Proof of the theorem The set Vd can be written in the form Vd = {(x, fx(x),..., fd_x(x)) GZdp\x GZpd_x), since the inversive congruential sequence (xn)n>0 has maximal period length p. Therefore, #(//n Vd) = #{x G Zpd_x\axx + a2fx(x) + + adfd_x(x) = aq (mod /?)} f = #lxgzp d_x\(axx + a2fx(x) + + adfd_x(x)) J[ n^x) #1 { x &Zp d_i\(alx - aq)ylnj(x) = aoylnjix) (mod/?) d +Yiakfk-\ix)nk-2ix) n njix) - (modp) k=2 jfik-2 - # \ x G Zp d_x\(axx - a0) II ltj(x) d + ^2aknk-\ix) FI njix) = (mod/?) A=2 >.' ' m-2 for any hyperplane H in Z. Now, Lemmas 1 and 3 show that #(HnVd) = #{x g 1p,d_\\Pd(x) = 0} <, which completes the proof of the theorem.

INVERSIVE CONGRUENTIAL PSEUDORANDOM NUMBERS 301 Bibliography 1. J. Eichenauer, H. Grothe, and J. Lehn, Marsaglia's lattice test and non-linear congruential pseudo random number generators, Metrika 35 (1988), 241-250. 2. J. Eichenauer and J. Lehn, A non-linear congruential pseudo random number generator, Statist. Papers 27 (1986), 315-326. 3. J. Eichenauer, J. Lehn, and A. Topuzoglu, A nonlinear congruential pseudorandom number generator with power of two modulus. Math. Comp. 51 (1988), 757-759. 4. G. Marsaglia, Random numbers fall mainly in the planes, Proc. Nat. Acad. Sei. U.S.A. 61 (1968), 25-28. 5. H. Niederreiter, Lower bounds for the discrepancy of inversive congruential pseudorandom numbers. Math. Comp. 55 (1990), 277-287. 6. _, Remarks on nonlinear congruential pseudorandom numbers, Metrika 35 (1988), 321-328. 7. _, The serial test for congruential pseudorandom numbers generated by inversions. Math. Comp. 52(1989), 135-144. Fachbereich Mathematik, Technische Hochschule, Schlossgartenstrasse 7, D-6100 Darmstadt, Federal Republic of Germany