Dhruv Gaikwad is an aspiring genetic engineer and writer who…

Discover the Library of Babel and the infinite wonder it holds, a discovery waiting to be made that will blow you away!

What if I told you that, me writing this article and you as the reader reading it was a discovery, but it was waiting to be discovered? Here I do not refer to the **“Wheels of Fate” **but – algorithms. Let me unfold its mystery through this article…

## The Library of Babel

Before we all have an existential crisis, yes this sort of stuff already exists by the name of “*The Library of Babel*” stick around a bit, it will be long, but it will definitely be interesting.

This all began in 1941 when a librarian and a decorated author by the name **Jorge Luis Borges** published a book in Spanish called “La Biblioteca de Babel” or simply “**The Library of Babel**” [1] is a short story conceiving of a universe in the form of a vast library containing all possible 410-page books of a certain format and character set.

To understand this better, I want you, the reader, to close your eyes as you finish reading this paragraph and visualize a universe composed of perhaps an infinite number of hexagonal galleries/rooms.

## The Architectural Bliss

In each room, there is an entrance on one wall, the bare necessities for human survival on another wall, and four walls of bookshelves. Though the order and content of the books are random and apparently completely meaningless, the inhabitants believe that the books contain every possible ordering of just 25 basic characters (22 letters, the period, the comma, and space).

Surprisingly, as they say, beauty lies in the eyes of the beholder, the books and their permutation are very difficult to understand because every book ever written in the universe is complete gibberish. Interesting Right?!

The thing is that once arranged in the correct combination of letters, the secrets of the universe are believed to unfold. But that is not all, the library also contains, somewhere, every coherent book ever written, or that might ever be written, and every possible permutation or slightly erroneous version of every one of those books which in layman’s term is all the very slightest detail about an individual, about his life, his death, his ordeals and what not.

## The Monkey Theorem

So one question that crossed my mind when reading about this book, and it may also cross your is that “*How do computer algorithms have to do with anything that I have ever written until now?*“, and if this type of stuff exists, where is it. Believe me when I say that both these questions have the same exact 2 word answer **“JONATHAN BASILE”**

A brilliant author and coder hailing from Brooklyn, New York. Yes, now computer algorithms have entered the field, which is “The Library of Babel” [2], a website launched in 2015 by Jonathan Basile. To understand how this is supposed to work, we should just briefly know what is “The Infinite Monkey-Theorem” [3].

The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols.

CRAZY RIGHT!

Not for long, because that is exactly what Basile used to bring the long-thought of Library to reality, that is through a website.

## Basile’s Algorithm

The algorithm Basile created generates a ‘book’ by iterating every permutation of 29 characters: the 26 English letters, space, comma, and period. Each book is marked by a coordinate, corresponding to its place on the hexagonal library (hexagon name, wall number, shelf number, and book name) so that every book can be found at the same place every time. The website can generate all possible pages of 3200 characters and allows users to choose among about 10^{4679} potential pages of books.

Just for size comparison to how vast and endless the library is, there are only about 10^78 to 10^82 atoms in the observable universe but there are about 10^{4679} potential pages of books in the vast library of babel. On the front page of the website, there appears a box, in which u can type any combination of letters in any order, with commas, periods, spaces but no numbers!

## Discovery Waiting to be Made

The website directs you to a certain number of boobs of gibberish name and shows you exactly what you typed. It shows you the bookshelf number, the book name, number and where can it be found. Just to be sure that it does not randomly generate anything if we go back and check the same book, same shelf, same page number, we cannot find anythingThat is it was a discovery waiting to be discovered.

As it said, once we think of anything it stays in the air around even if its proved correct or incorrect it stays in the atmosphere around us(Credits to my friend Sneha for this amazing metaphor)

The library has millions and millions of permutation, combinations and the only thing is that we should be “open to all possibilities”. The library has been an attraction to scholars to complete their books, cures for ailments, it’s not that it predicts, it decides to give you the information and the inspiration…

Read more Science and Technology articles at The Teen Pop Magazine.

## Resources:

- Library of Babel, Wikipedia.

https://en.wikipedia.org/wiki/The_Library_of_Babel - Library of Babel, NY

https://libraryofbabel.info/ - Infinite Monkey Theorem, Towards Data Science

https://towardsdatascience.com/understanding-the-infinite-monkey-theorem-ea743d703daa

The **infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

The **infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

The **infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

The **infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discoveryDiscoveryDiscoveryDiscoveryDiscoveryDiscoveryDiscovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

**infinite monkey theorem** states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. Surely the monkey here does not refer to the animal, the monkey here refers to but a Metaphor for an abstract device that produces an endless random sequence of letters and symbols. discovery

###### What's Your Reaction?

Dhruv Gaikwad is an aspiring genetic engineer and writer who loves to share knowledge. Based out of Lagos, he loves drawing and playing the harmonium. While keeping a great reading interest and enjoys badminton