Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #375972

Re: OT: Another math problem

From rickman <gnuarm@gmail.com>
Newsgroups sci.electronics.design
Subject Re: OT: Another math problem
Date 2015-09-07 12:59 -0400
Organization A noiseless patient Spider
Message-ID <mskfls$nrn$2@dont-email.me> (permalink)
References <55eae7ba$0$13942$4c5ecfc7@frugalusenet.com> <msf6r3$1rs$1@dont-email.me> <msf88b$7sn$1@dont-email.me> <msgt34$udg$1@speranza.aioe.org>

Show all headers | View raw


On 9/6/2015 4:21 AM, Martin Brown wrote:
> On 05/09/2015 18:21, rickman wrote:
>> On 9/5/2015 1:00 PM, Les Cargill wrote:
>>> bitrex wrote:
>>>> The Library of Babel is a library which contains an infinite number of
>>>> hexagonal rooms, each with four exits and four walls containing
>>>> bookshelves full of 410 page books, each page with 40 lines of 80
>>>> characters.  These books contain random permutations of the 25 basic
>>>> characters.
>>>>
>>>> https://en.wikipedia.org/wiki/The_Library_of_Babel
>>>>
>>>> Suppose the number of books in all rooms of the library is the same and
>>>> is N.  One starts in a random room in the library, and selects X books
>>>> at random from a uniform distribution on N, i.e. X <= N.  One looks at
>>>> the books, and then makes a random move with a uniform distribution
>>>> through one of the room's four exits, i.e. a random walk on Z^2.
>>>>
>>>> What is the expected value of the number of moves required before
>>>> one of
>>>> the books selected from a room in the library contains the correct text
>>>> of the short story "The Library of Babel"?
>>>
>>> You can shorten this to "randomly draw a book from an infinite
>>> library of books." All the other furniture in the description is just
>>> noise.
>
> Except it *isn't* an infinite set of books just a very large (and very
> tedious) finite one with 25^N unique volumes of which only one is
> correct. The question is uninteresting but that is another matter.

How is this description not of an infinite number of books...?

> The Library of Babel is a library which contains an infinite number of
> hexagonal rooms, each with four exits and four walls containing
> bookshelves full of 410 page books, each page with 40 lines of 80
> characters.

Infinite number of rooms each containing books.  That is an infinite 
number of books, no?


>>> This implies that there is a one-to-one and onto map from each book
>>> to the natural numbers.
>>>
>>> The probabiliity of drawing at random a number from an infinite set is
>>> still zero - lim(p(x)) at p(x)=1/N as N->infinity.
>>>
>>> So the number of moves is - surprise! - N.
>>>
>>> "Infinity is just a mechanism for reasoning about limits." - Euler.
>>
>> Really?  The probability has nothing to do with the number of values in
>> the character set or the length of the text being matched?  N is just
>> the number of books in each room.  Your mapping is wrong BTW.  The
>> library of books may be infinite, but they are not all unique.  There
>> are 25^(410*40*80) possible unique books.
>>
>> BTW, did no one notice there are hexagonal rooms with only four exits
>> and only four walls of books?  How does that work exactly?  Not your
>> typical XY grid.  Maybe they are the kind of libraries with bookshelves
>> built into the doors?

-- 

Rick

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT: Another math problem bitrex <bitrex@de.lete.earthlink.net> - 2015-09-05 09:01 -0400
  Re: OT: Another math problem Bill Sloman <bill.sloman@gmail.com> - 2015-09-05 06:41 -0700
    Re: OT: Another math problem bloggs.fredbloggs.fred@gmail.com - 2015-09-05 06:56 -0700
    Re: OT: Another math problem bitrex <bitrex@de.lete.earthlink.net> - 2015-09-05 10:24 -0400
      Re: OT: Another math problem John Larkin <jjlarkin@highlandtechnology.com> - 2015-09-05 07:51 -0700
        Re: OT: Another math problem bitrex <bitrex@de.lete.earthlink.net> - 2015-09-05 11:29 -0400
        Re: OT: Another math problem bitrex <bitrex@de.lete.earthlink.net> - 2015-09-05 11:34 -0400
          Re: OT: Another math problem John Larkin <jjlarkin@highlandtechnology.com> - 2015-09-05 14:37 -0700
            Re: OT: Another math problem bitrex <bitrex@de.lete.earthlink.net> - 2015-09-05 18:11 -0400
            Re: OT: Another math problem bloggs.fredbloggs.fred@gmail.com - 2015-09-07 09:52 -0700
              Re: OT: Another math problem rickman <gnuarm@gmail.com> - 2015-09-07 13:36 -0400
                Re: OT: Another math problem Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2015-09-07 13:58 -0400
                Re: OT: Another math problem rickman <gnuarm@gmail.com> - 2015-09-07 14:11 -0400
                Re: OT: Another math problem DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-07 15:34 -0400
                Re: OT: Another math problem bloggs.fredbloggs.fred@gmail.com - 2015-09-07 12:40 -0700
                Re: OT: Another math problem DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-07 15:44 -0400
                Re: OT: Another math problem bloggs.fredbloggs.fred@gmail.com - 2015-09-07 11:57 -0700
              Re: OT: Another math problem Nobody <nobody@nowhere.invalid> - 2015-09-08 06:14 +0100
                Re: OT: Another math problem bloggs.fredbloggs.fred@gmail.com - 2015-09-08 09:49 -0700
                Re: OT: Another math problem John S <Sophi.2@invalid.org> - 2015-09-08 22:28 -0500
                Re: OT: Another math problem bloggs.fredbloggs.fred@gmail.com - 2015-09-09 08:20 -0700
    Re: OT: Another math problem Phil Allison <pallison49@gmail.com> - 2015-09-05 08:00 -0700
      Re: OT: Another math problem DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-05 11:16 -0400
        Re: OT: Another math problem bloggs.fredbloggs.fred@gmail.com - 2015-09-05 09:27 -0700
          Re: OT: Another math problem rickman <gnuarm@gmail.com> - 2015-09-05 13:13 -0400
            Re: OT: Another math problem DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-05 15:48 -0400
          Re: OT: Another math problem DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-05 15:47 -0400
  Re: OT: Another math problem Les Cargill <lcargill99@comcast.com> - 2015-09-05 12:00 -0500
    Re: OT: Another math problem rickman <gnuarm@gmail.com> - 2015-09-05 13:21 -0400
      Re: OT: Another math problem bitrex <bitrex@de.lete.earthlink.net> - 2015-09-05 14:22 -0400
        Re: Another math problem "Tim Williams" <tiwill@seventransistorlabs.com> - 2015-09-05 13:51 -0500
      Re: OT: Another math problem whit3rd <whit3rd@gmail.com> - 2015-09-05 14:47 -0700
      Re: OT: Another math problem Les Cargill <lcargill99@comcast.com> - 2015-09-05 18:02 -0500
        Re: OT: Another math problem rickman <gnuarm@gmail.com> - 2015-09-05 19:38 -0400
          Re: OT: Another math problem Les Cargill <lcargill99@comcast.com> - 2015-09-07 10:39 -0500
      Re: OT: Another math problem Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-06 09:21 +0100
        Re: OT: Another math problem rickman <gnuarm@gmail.com> - 2015-09-07 12:59 -0400
          Re: OT: Another math problem Les Cargill <lcargill99@comcast.com> - 2015-09-07 13:50 -0500
          Re: OT: Another math problem Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-08 12:04 +0100
            Re: OT: Another math problem DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-08 07:13 -0400
              Re: OT: Another math problem John Devereux <john@devereux.me.uk> - 2015-09-08 14:50 +0100
                Re: OT: Another math problem George Herold <gherold@teachspin.com> - 2015-09-08 08:18 -0700
                Re: OT: Another math problem John Devereux <john@devereux.me.uk> - 2015-09-08 17:53 +0100
                Re: OT: Another math problem John S <Sophi.2@invalid.org> - 2015-09-08 22:33 -0500
                Re: OT: Another math problem John S <Sophi.2@invalid.org> - 2015-09-08 22:36 -0500
              Re: OT: Another math problem JW <none@dev.null> - 2015-09-09 08:04 -0400
                Re: OT: Another math problem DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-09 09:35 -0400
                Re: OT: Another math problem JW <none@dev.null> - 2015-09-10 06:51 -0400
            Re: OT: Another math problem Phil Allison <pallison49@gmail.com> - 2015-09-08 06:54 -0700
              Re: OT: Another math problem DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-08 10:13 -0400
                Re: OT: Another math problem John S <Sophi.2@invalid.org> - 2015-09-08 22:39 -0500
              Re: OT: Another math problem Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-08 15:22 +0100
            Re: OT: Another math problem rickman <gnuarm@gmail.com> - 2015-09-08 13:42 -0400

csiph-web