3.5 WHAT IS A RANDOM SEQUENCE? (Linux web host) 149 Thus
Monday, September 17th, 20073.5 WHAT IS A RANDOM SEQUENCE? 149 Thus a k-distributed sequence is the special case m = 1 in Definition E; the case m = 2 means that the k-tuples starting in even positions must have the same density as the k-tuples starting in odd positions, etc. Several properties of Definition E are obvious: An (m, k)-distributed sequence is (m, n)-distributed for 1 5 rc 5 k. (12) An (m, k)-distributed sequence is (d, k)-distributed for all divisors d of m. (13) We can also define the concept of an (m, k)-distributed bary sequence, as in Definition D; and the proof of Theorem A remains valid for (m, k)-distributed sequences. The next theorem, which is in many ways rather surprising, shows that the property of being co-distributed is very strong indeed, much stronger than we imagined it to be when we first considered the definition of the concept. Theorem C (Ivan Niven and H. S. Zuckerman). An co-distributed sequence is (m, k)-distributed for all positive integers m and k. Proof. It suffices to prove the theorem for bary sequences, by using the gen- eralization of Theorem A just mentioned. Furthermore, we may assume that m = k, because (12) and (13) tell us that the sequence will be (m, k)-distributed if it is (mk, mk)-distributed. So we will prove that any m-distributed b-ary sequence X0, X1, . . . is (m, m)- distributed for all positive integers m. Our proof is a simplified version of the original one given by Niven and Zuckerman in Pacific J. Math. 1 (1951), 103-109. The key idea we shall use is an important technique that applies to many situations in mathematics: If the sum of m quantities and the sum of their squares are both consistent with the hypothesis that the m quantities are equal, then that hypothesis is true. In a strong form, this principle may be stated as follows: Lemma E. Given m sequences of numbers (yjn) = yjlj~, ~71, . . . for 1 2 j 2 m, suppose that lim (YM + ~2~ + . . . + ymn) = ma, n+00 (14) lim sup (Y:, + yin + . . -+ yk.,) I mff . n-cc Then for each j, lim,,, yjn exists and equals cy. An incredibly simple proof of this lemma is given in exercise 9. 1 Resuming our proof of Theorem C, let z = zlz2.. . zm be a bary number, and say that 5 occurs at position p if Xp–m+lXp–m+2.. .X, = 2. Let ~j(n) be the number of occurrences of x at position p when p < n and pmodm = j. Let yyn = vj(n)/ n; we wish to prove that lim yjn = l/mbm. (15) n+m