Re: Toaster to Generate Random Numbers

From: Rob Warnock (rpw3@rpw3.org)
Date: 02/05/03


From: rpw3@rpw3.org (Rob Warnock)
Date: Wed, 05 Feb 2003 04:32:34 -0600

Tony T. Warnock <ttw@lanl.gov> wrote:
+---------------
| Of course one can construct sequences that do not repeat, but they
| wouldn't necessarily be considered random:
|
| 11011100101110111100010011010101111001101111...
+---------------

I agree.

But I'm afraid yours is has a very serious bias towards 1 -- almost 2:1,
in fact! ;-} ;-}

The following very similar sequence [a Common Lisp "one-liner"] starts
with single digit of bias towards zero (due to having to pick one of the
two symbols to represent the unary digit), which then rapidly decreases
the longer the sequence runs.

0010001101100000101001110010111011100000001001000110100010101100111100010011010101111001101111011110000000001000100001100100001010011000111010000100101010010110110001101011100111110000100011001010011101001010110110101111100011001110101101111100111011111011111...

[Dropping the first digit would of course remove the bias, but
then the sequence wouldn't be nearly as mathematically "pure"...] ;-}

-Rob

-----
Rob Warnock, PP-ASEL-IA <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607



Relevant Pages

  • Re: Review of Mueckenheims book.
    ... If infinite, the limits of the ... that the reals are not countable. ... He starts with the sequence of rationals: ... in the building of the diagonal *each* digit has to be changed. ...
    (sci.math)
  • Re: Well Ordering the Reals
    ... >>> rightmost zero in an unending sequence of ever more rightward ... >> naturals, you might as well call it something, I suppose. ... > In TO's system of "whole numbers", there is a most significant digit and ... >> infinite unending string of bits, even if most are generally ignored. ...
    (sci.math)
  • Re: .9 repeating
    ... Represent positive infinitesimals with digits. ... let R' be the set consisting of "digit sequences" ... We map x in [0,1) to the sequence ... Now we make an arbitrary choice: we interpret infinite digit sequences ...
    (sci.math)
  • Re: An uncountable countable set
    ... But it is for the rationals. ... A digit of the diagonal number. ... So, you are talking about a sequential process, ... > sequence of the same sort as are the list entries. ...
    (sci.math)
  • Re: Cantor Confusion
    ... Cantor's diagonal proof is about infinite sequences. ... > You do not require that one digit represents the number 1/3 in Cantor's ... > infinite sequence? ... I do no want not extend anything to nodes representing numbers. ...
    (sci.math)