At 09:30 PM 10/15/99 -0700, Keith Causey wrote: >Another property of random number sequences is that there are no long >autocorrelations. A 64k snippet, or any other snippet for that matter will >eventually have a 100% overall autocorrelation. You may rethink your reasons >for needing random numbers and decide that pseudorandom numbers will do. >They are easy to generate algorithmically as you already have discovered. >The most economical solution that I have seen so far is the diode scheme. >Once that is generated then sampling it with an analog to digital converter >to the desired resolution is all that is needed. This should result in a >totally noncorrelatable sequence. Of course the catch-22 is that to >determine if a sequence has 0 autocerrelation you have to look at it >forever. We are apparently discussing two different types of randomness: 1) random 'numbers', which have some finite bit length, and 2) random bit streams, which are sampled at some underlying rate. The Platonic ideal of 'randomness' is useful in defining tests for practical sequences. The fact that infinite bandwidth is impossible is irrelevant in practical problems, since bandwidth is always limited intentionally. Random sequences are infinite-bandwidth and 'white' in the same way ideal op-amps are infinite-bandwidth and gain. Real-world implementations, of course, only approach the ideal. In the case of random sequences, the upper limit on bandwidth required is 1/2 the sampling rate. The 'white' bandwidth required is usually much less than this. I.e., one is much more concerned with proximate correlation than distal correlation. 'Whiteness' implies two principal properties: 1. 'Equi-distribution', i.e., any subset is equivalent to any other subset. 2. 'Uniformity', i.e., correct DC component. Since random numbers/digits are used in n-tuples (singles, pairs, triples, etc.) with 'n' a small number (usually < 10), then having zero low-order (< 10) autocorrelations usually suffices. ================================================================ Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: ral@lcfltd.com Least Cost Formulations, Ltd. URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239 Fax: 757-467-2947 "Vere scire est per causae scire" ================================================================