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


Groups > sci.electronics.design > #375843

Re: OT: Another math problem

From Martin Brown <|||newspam|||@nezumi.demon.co.uk>
Newsgroups sci.electronics.design
Subject Re: OT: Another math problem
Date 2015-09-06 09:21 +0100
Organization Aioe.org NNTP Server
Message-ID <msgt34$udg$1@speranza.aioe.org> (permalink)
References <55eae7ba$0$13942$4c5ecfc7@frugalusenet.com> <msf6r3$1rs$1@dont-email.me> <msf88b$7sn$1@dont-email.me>

Show all headers | View raw


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.
>>
>> 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?

Octagonal hexagons maybe?

You could arrange to have such a configuration with hexagons but you 
would need triangular dead spaces to make it a regular XY grid.

The simplest close packed tiling pattern is in rows with two exits on 
the faces which connect only to adjacent rows.

The original question is singularly uninteresting.

One of more practical import is how large does a binary attachment have 
to be before it falls foul of naive net nannies for containing at least 
one four letter Anglosaxon swear word. The answer is surprisingly small.

Residents in the UK towns of Penistone and Scunthorpe have encountered a 
fair amount of difficulty with US net nanny software filters.

-- 
Regards,
Martin Brown

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