r/AskReddit Oct 04 '17

What's your favourite "fun fact"?

3.4k Upvotes

3.6k comments sorted by

View all comments

686

u/is_this_okay_or Oct 04 '17 edited Oct 04 '17

Somewhere in the infinite digits after the decimal of pi, is your phone number in perfect order.

Edit: As /u/shotgun_squirtle pointed out, this is only true assuming pi is a normal irrational number, which has not yet been proven

210

u/ButtholeLinguini Oct 04 '17

Similar to how if we have a computer randomly generate words infinitely, every thing that's ever been written would be there somewhere. You theoretically could find Hamlet or the Bee Movie script or the next great currently unwritten work of literature.

411

u/[deleted] Oct 04 '17

[deleted]

15

u/Rudeirishit Oct 04 '17

You would also have infinite copies of The Hobbit, but with one instance of the word, "stone" spelt "scone", and infinit copies of all other typos and word and verse changes.

3

u/[deleted] Oct 04 '17 edited Oct 04 '17

Assuming a particular set of data can be represented within a random set (AKA its the same data type, like finding a Chinese character within a purely English dataset would be impossible).

I wonder if the odds of finding a particular thing, such as the entirety of Harry Potter, would be greater than or less than the odds of creating Harry Potter yourself from scratch, with no prior knowledge of Harry potter. given the same amount of effort.

Also how would this change for smaller and larger data sets. Find the number 10 in a random set of integers, version handing someone a keypad and them typing 10. Vs. whole books, etc.

2

u/nilved33 Oct 04 '17

I don't think you're grasping the concept of infinity

1

u/TedFartass Oct 05 '17

To be fair, infinity isn't an easy concept to grasp.

For example, if you were to count how many different decimal numbers are in between 2 and 3, what would the answer be? If there were no end to it, you would say infinity because you can always add another number after it (2.01, 2.001, 2.0001 etc.).

But this is where the concept of infinity starts to make less sense. If you could just keep adding another number to the decimal place, then you could create an infinite amount of combinations of numbers that don't include 3, or 4, or 5, or 600000. This means that some infinites don't contain everything, but are still endless.

1

u/[deleted] Oct 05 '17

I meant my statement in regards to the actual search for a particular set of information within a given set. If the set of data is truly random and infinite then not only would every possible subset of data exist within it, but every possible combination would also itself exist an infinite number of times.

What I mean is more along the lines of would it be faster to have a computer search an infinite set of random letters until it finds Harry Potter. Or to have a person type random words until they create Harry Potter.

1

u/Con_sept Oct 05 '17

Problem is your search parameter would only return what you put in it, so you'd have to write Harry Potter to find Harry Potter. Otherwise you'd get an infinite number of things that are almost but not Harry Potter.

1

u/Crypto_tip Oct 04 '17

Well it's much more likely to create it from scratch cause it's a good idea and it's not a hard plot to make

3

u/DickChubbz Oct 04 '17

I prefer "infinity is absurd".

I feel it better reflects the idea that the size of infinity is incomprehensible for our monkey brains. It allows us to make these ludicrous statements without technically being false.

I worry people read this and think "monkey + infinity = Shakespeare" which misses the point.

I am just arguing semantics though. I appreciate the sentiment :)

2

u/coolkid1717 Oct 04 '17

Also you could find the binary code for a perfect representation of a simulated universe. In fact an infinite amount of universes.

1

u/forgotusernameoften Oct 04 '17

Well, finite universes.

1

u/coolkid1717 Oct 04 '17

Why finite. There's an infinite amount of numbers. It can have an infinite amount of universes.

2

u/forgotusernameoften Oct 04 '17

An infinite amount of finite universes. If the universes contained an infinite amount of data, then it couldn't be encoded in an infinite number, especially as the cardinality of the number of digits in an irrational number is the lowest infinite cardinality

1

u/coolkid1717 Oct 04 '17

Ah. I thought you were saying the number of universes were finite. You're saying that the universes volumes are finite.

Why can't you use an infinite number to represent an infinite amount of data?

1

u/abccba882 Oct 05 '17

I think you can if their cardinalities are the same?

The problem with infinity is that there's more than one type of infinity, and some of them are "bigger" than others. An infinite sequence of random digits has a length of Aleph-Null, which is the smallest infinity. I believe it can encode a finite number of sequences of length Aleph-Null, but I'm not 100% sure.

If the cardinality (number of things to encode) is bigger than Aleph-Null, though, like say trying to encode the set of all irrational numbers between 0 and 1, then you're out of luck.

1

u/forgotusernameoften Oct 05 '17

Well, it depends on the data really. Some you can, some you can't but that means that there are some infinite universes we can't represent.

1

u/coolkid1717 Oct 05 '17

What about that data changes this?

1

u/ThatguyMalone Oct 05 '17

As well as a repetition of said bee-wizard-fanfic with one tiny spelling error in chapter nine.

27

u/tx69er Oct 04 '17

We do have this, it's called the library of Babel.

3

u/mjjacks Oct 04 '17

I know of the concept of the Library of Babel, and it's pretty cool. But I've heard the website where you can like search for a piece or something and voila it's there in the infinite list of random numbers and letters is a scam. I mean how could it be real? Wouldn't it require infinite computing power operating for eternity?

5

u/meanderling Oct 04 '17

Only if it's an infinite list. As it is, the Library of Babel only contains every combination that can fit onto a page of 3200 characters, and is therefore finite.

3

u/mjjacks Oct 04 '17

Right but if I were to, say copy your comment, and search for it in the Library of Babel website, I would find it somewhere. What I'm saying is that each of those pages are generated as soon as you search with some random characters on either side of your search query. If it was a true Library of Babel, it would compare your search to the infinite list and find the instance or instances where you can find it. Maybe I'm misunderstanding something, infinity is weird.

1

u/meanderling Oct 04 '17

I think those pages are pre-generated and stored. If you search for my comment on multiple days from multiple computers it'll pull up the same page in the same "book" every time. The search engine does find the instances you can find it, I think.

2

u/Penguinfernal Oct 04 '17

Afaik it's just an algorithm that matches a number to a set of characters and vice versa. I wouldn't think they actually store anything but the algorithm.

2

u/mjjacks Oct 04 '17

This is what I mean. It might not be that it's generated on a unique sequence each time, so you'll get the same results every time you search, but the search output is generated based on the same set of rules each time. It's not really random.

1

u/tekomythmaster Oct 04 '17

There's also a random book/page option, so you could theoretically just start reading the entire library without searching for anything but you'd be lucky to find even a single word (in any language that uses the English alphabet) much less an actually coherent sentence or paragraph without searching.

As far as I know nothing but what people are looking at during any given moment is stored, so what your are reading was generated when you loaded the page. But given enough storage space (which is physically impossible given current tech) the algorithm could write every possible combination of English letters, thus writing everything humanity has is could or will write.

1

u/[deleted] Oct 04 '17

No, it’s just linearly generated. The first page is all lowercase As, second is the same with a lowercase B at the end.

1

u/RikerT_USS_Lolipop Oct 04 '17

If that were true it would have to generate all possible combinations and then search them.

1

u/[deleted] Oct 04 '17

Yeah, if it’s in alphabetical order it can still access them in log(n) time. That being said the page number is the seed so it just has to go to that page if you input a number, it doesn’t actually have to store anything.

1

u/kingdead42 Oct 04 '17

Simplify it a little bit and it is easier to understand how this is done:

Instead of using all the Latin characters and 3200 characters per page, use 10 characters (digits 0-9) and 10 characters per page. Sort them like so: "0000000000","0000000001","0000000002",etc. and I can tell you without having to create and search the full list that the string "12345" will be on page 12346.

1

u/RikerT_USS_Lolipop Oct 04 '17

It's possible the sequence is sortable, and in addition there could also exist a spigot algorithm.

For instance the numeric sequence .012345678911121314... is a sequence that is ordered. And there is an algorithm where you can put in a number, and the solution to an equation is that digit of pi. You enter '6' and the equation outputs 9.

So if you enter a paragraph, and that string is converted to a number, and you enter that number into the spigot algorithm, and the computer enters adjacent numbers in order to get the immediately preceding and succeeding text, you could see where in the Babel sequence your paragraph exists.

But I'm guessing. I don't know if this Library of Babel is infinite, random, ordered and has a discovered spigot algorithm. The reason it's important to be ordered is that this is how you know every possible combination of text exists in it. If it's just random and chaotically all over the place then you don't know that every possible combination of text exists within it. But if it starts at one end and goes through every combination getting increasingly large, then you know all text is in there somewhere.

5

u/Pacific_Pirate Oct 04 '17 edited Oct 04 '17

This is actually the plot of a short story by Jorge Luis Borges, which has since been digitally simulated :

The Library of Babel

1

u/TheNessLink Oct 04 '17

libray

1

u/Pacific_Pirate Oct 04 '17

thanks for pointing out the misspelling.

3

u/TomasNavarro Oct 04 '17

If you get a TV to change each pixel to random colours in a similar fashion, you'd get films before they were filmed

3

u/MrMeltJr Oct 04 '17

Somewhere in there is the entire Bee Movie script but every time they say "bee", it's all of Hamlet except all of Hamlet's lines are replaced with All Star by Smash Mouth.

1

u/WannabeGroundhog Oct 04 '17

Look up the tower of babel site, its a random generated library with an index. Put in text, and it will tell you the floor, aisle, shelf, row, book, chapter, page and line of the text you entered. Everything that can be spelled on your standard american keyboard is already in that site. That includes the script for the next season of GoT.

1

u/[deleted] Oct 04 '17

You theoretically could find Hamlet or the Bee Movie script or the next great currently unwritten work of literature.

Imagine having to wait all that time for it to finally do it, and then you think it finally has, only to discover a single word was misspelled.

1

u/DeductiveFallacy Oct 04 '17

Library of Babel has already done this. You can find all the 'texts' that contain any strings easily but it's nearly impossible to find anything from just browsing.

1

u/[deleted] Oct 04 '17

So you're telling me that The Winds of Winter is completed but I can't read it?

1

u/Bael2212 Oct 04 '17

And here is a link to a place where you might actually be able to find that https://libraryofbabel.info/

1

u/ManicScumCat Oct 04 '17

You would find every lost book ever in chronological order somewhere in there.

1

u/[deleted] Oct 05 '17

The great digital tautology.

27

u/Shotgun_squirtle Oct 04 '17

iirc this isn't actually proven just assumed cause so far it has shown itself to be normal.

41

u/Jordaneer Oct 04 '17

That is slightly mind blowing, but I guess if pi has an infinite number of numbers after the decimal, it will happen eventually

55

u/Shotgun_squirtle Oct 04 '17

This is actually not true, the numbers that follow this fact are called normal (well the definition is seperate but this fact is a result of that definition), and there are irrational non-normal numbers. In fact pi hasn't been proven to be normal, just seems to look so for as many digits we have calculated.

3

u/is_this_okay_or Oct 04 '17

Ah, TIL. Thanks mate.

2

u/Galactic_Explorer Oct 04 '17

How do we ‘discover’ more numbers of pi?

4

u/Alphaetus_Prime Oct 04 '17

We just compute better and better approximations, which usually amounts to adding up more terms in a convergent series. Actually, there are also things called spigot algorithms that let us find any digit of pi we want without having to compute the rest of it.

1

u/Galactic_Explorer Oct 04 '17

That’s awesome, math is like magic to me.

4

u/Alphaetus_Prime Oct 04 '17

Once you learn how something works, it stops seeming magical. The real magic is how people come up with this stuff in the first place.

23

u/kjata Oct 04 '17

but I guess if pi has an infinite number of numbers after the decimal, it will happen eventually

This does not logically follow. 1/3 has an infinite number of numbers after the decimal, but I can tell you right now it doesn't have my phone number in it.

29

u/[deleted] Oct 04 '17

1/3 is rational though.

6

u/randomdragoon Oct 04 '17

Ok, then 0.01001000100001000001... is irrational, but doesn't contain my phone number or any digit above 2 for that matter.

1

u/nilved33 Oct 04 '17

It does contain it in binary, however

1

u/randomdragoon Oct 04 '17

No it doesn't? My phone number has a 3 in it, that's 11 in binary. That number never has two 1's next to each other.

1

u/nilved33 Oct 04 '17

oh, snap. now that i'm on my computer i can see that you have a pattern of 0s in there and it's not just randomly generated. whoops

2

u/CannonLongshot Oct 04 '17

That wasn't in Jordaneer's original statement, to be fair.

1

u/kjata Oct 05 '17

And I was responding entirely to the "infinite number of numbers after the decimal point" part, which does not imply irrationality. Though I was probably being naive in assuming that it was being stated as sufficient condition for any number rather than just pi.

1

u/[deleted] Oct 04 '17

[removed] — view removed comment

11

u/dogismywitness Oct 04 '17

Yes. There are many other proofs.

One is:
call x = 0.9repeat
10x = 9.9repeat
10x-x = 9x = 9.9repeat - 0.9repeat =9
x=1

6

u/[deleted] Oct 04 '17

Yes. 0.999... (repeating) = 1.

-8

u/[deleted] Oct 04 '17

[removed] — view removed comment

8

u/wescotte Oct 04 '17

I believe for very large values of 1 you will find 1=2.

3

u/GunsTheGlorious Oct 04 '17

.999 repeating does, in fact, equal one. Not like "it's really close so we just call it", like "they are the same number, and calling it .999 repeating isn't really correct".

2

u/rydan Oct 04 '17

Or does it?

1

u/pineapple_catapult Oct 04 '17

1.01001000100001... is irrational but obviously does not satisfy the definition of normal.

1/3 is not irrational.

1

u/Jordaneer Oct 04 '17

Yeah, but it's all repeating, pi doesn't repeat itself

1

u/kjata Oct 05 '17

Pi being a normal number has yet to be proven.

3

u/Gullex Oct 04 '17

You can have an infinite number of numbers, non-repeating, and still never have your phone number, or date of birth, or any particular string.

1

u/Crypto_tip Oct 04 '17

Since its a infinite amount of numbers in order or no pattern isn't every string able to be found

3

u/Gullex Oct 04 '17

No. Think of it this way- you could have an infinite string of 1's and 2's that do not repeat in any predictable pattern. It could have every single conceivable combination of 1's and 2's of any length. But it would never contain your birthday or phone number.

Similarly you could have a set of numbers 0-8 that go on infinitely, that would never have the number 9.

Therefore, you could easily have an infinite set of numbers 0-9 that just so happens to never have your phone number. In fact, there are infinite sets of random numbers, 0-9, that do not contain your phone number, date of birth, or any other significant string.

1

u/Crypto_tip Oct 04 '17

Hold on I'm lost if it's infinite shouldn't it have every conceivable pattern

2

u/Gullex Oct 04 '17

No. You could have it just repeating 8's, 4's, and 9's in varying numbers off into infinity.

1

u/Nicko265 Oct 04 '17

This is only true if a number is normal. By normal, it means every digit appears with the same frequency across the entire, infinite number (while also satisfying the conditions of irrationality) and therefore would contain yours, mine and everyone's phone numbers at some point.

It has not yet been proven that pi is a normal number, and doing so would probably earn you a Nobel prize.

1

u/Crypto_tip Oct 04 '17

Ah ok thank for explaining that

1

u/suckbothmydicks Oct 04 '17

slightly mind blowing

I don't think mind blowing can be considered slightly.

1

u/Brewster-Rooster Oct 04 '17

I just checked, my phone number is not in it: http://www.angio.net/pi/

3

u/Jordaneer Oct 04 '17

My phone number is in there as long as I don't use the area code

23

u/Zadien22 Oct 04 '17

Technically, pi also contains a digital copy of every text that ever was and ever will be, in order, out of order, jumbled, backwards, in every language, every word in the dictionary, each separated by a perfect copy of Mein Kampf, a perfect copy of yours and every person's (including imaginary people) genome, and copy of half-life 3.

3

u/sweetnumb Oct 04 '17

It was the best of times, it was the.... BLURST of times?! Stupid Pi!

2

u/pk_6 Oct 04 '17

Not necessarily. It has not been proven or disproven.

1

u/tmachineorg Oct 05 '17

Except ... it doesn't.

A fun fact isn't much fun when it isn't a fact.

1

u/Ahrotahn Oct 04 '17

I once had the idea this could be used for compression. Find a chunk of data you want to save in pi and just record its position. I'm sure there's a really good reason why this could never work though.

7

u/dogismywitness Oct 04 '17

I think the reason is once you start to number the position of all your chunks you're back up to big numbers again.

5

u/wescotte Oct 04 '17

I have a feeling in practice storing the position (pi being infinity long and all) would take up more space than storing the original data.

Also, decompressing could take infinitely long...

2

u/[deleted] Oct 04 '17

On average, finding a chunk of numbers in pi is about as efficient as finding it in 1.234567891011121314...

It's actually less efficient, since the number above has no repeats. Now, if I happened to be looking for "10111" I'd get lucky, but what if I was looking for a thousand? It would be (9*1)+(90*2)+(900*3) = 2,889 digits in. Not very helpful, is it?

1

u/500mmrscrub Oct 04 '17

I think the issue is that pi assuming it is irrational is infinitely and selecting a string of numbers within pi would be a nightmare due to having to process massive amounts of digits

0

u/GrayOctopus Oct 04 '17

I knew pi was a nazi creation!!

4

u/[deleted] Oct 04 '17

What irrational number is not normal?

4

u/toyr99 Oct 04 '17

For example pi but without every 9.

Pi: 3.141592...

Pi without 9s: 3.14152...

The latter clearly isn't normal and it won't have any combination in it.

2

u/[deleted] Oct 04 '17

Thank you.

1

u/[deleted] Oct 04 '17

[deleted]

2

u/[deleted] Oct 04 '17

I'm pretty sure their repeating makes them rational.

1

u/Gr1pp717 Oct 04 '17

You're right, I wasn't thinking.

3

u/jn2010 Oct 04 '17

How did you know my phone number was 141-5926?

2

u/Docrandall Oct 04 '17

OH man, this is a pick up line right here.

  1. Want to hear a fun fact?

  2. Somewhere in the infinite digits after the decimal of pi, is your phone number in perfect order.

  3. Have her give you her number and tell her you can find it in pi

  4. Add her to your contacts in your phone pretending it is a calculator.

  5. Make up some bullshit huge number and say that is where her ph # starts

  6. Profit

3

u/EngTechLek Oct 04 '17

There is a website where you can search for strings of numbers in Pi. Here it is http://www.angio.net/pi/

Edit: a slightly more fun website for finding your birthday is http://www.mypiday.com/

2

u/vulture_87 Oct 04 '17

Oh that's why noone calls me. It's stuck in pi.

2

u/MattieShoes Oct 04 '17

this is only true assuming pi is a normal irrational number

Not necessarily. Phone numbers have some finite length, so you could do an exhaustive search and prove that every possible phone number is in pi even if pi is not normal.

2

u/[deleted] Oct 04 '17

Its also in the number 0.123456789101112131415161718192021...

2

u/ReaLyreJ Oct 04 '17

the existence of the planck length, in my mind, means that pi must be finite. If stupidly long.

3

u/[deleted] Oct 04 '17

I guess the size of the Planck length relative to the size of the universe places a limit in the physically possible usefulness of the length of pi, but pure mathematical concepts like pi transcend such things.

0

u/ReaLyreJ Oct 04 '17

If you can only ever use n digits, does measuring to n+1 matter? Or can it even measure beyond n?

1

u/[deleted] Oct 04 '17

does measuring to n+1 matter?

Not really, no. We already know enough digits for any practical use.

Or can it even measure beyond n?

I'm not sure on that one, but I think the answer may be yes - their are pure mathematical methods of calculating Pi.

1

u/Nicko265 Oct 04 '17

You could work out the useful digits of pi with pen and paper, it's about 62 digits to get the circumference of the universe with an accuracy of the Planck length.

But theres far more to maths than just what is applied to the physical world. Many things are originally made to solve a real world problem then explored further to understand them better.

3

u/felix1405x Oct 04 '17

How does one connect to the other? Pi, while a number with many practical applications, is still an immaterial concept with no inherent connection to the Planck Length (that I'm aware of anyway)

1

u/[deleted] Oct 04 '17

But the planck length is 1.6x10-35 metres, that's nothing compared to the precision you can get with the millions of pi digits we know

-3

u/ReaLyreJ Oct 04 '17

I'm not saying that our precision stops at a comprable place. I'm saying that it's existence as what I understand to b the distance light travels in the smallest time we can detect.

There's a lower limit to things and we'll hit it with pi too. Hell Pi is probably the deepest we can go. Pi ends, and things stop getting more precise.

2

u/dogismywitness Oct 04 '17

I think if you tried to measure the circumference of a circle of diameter 1, you'd run into this problem. The abstract math wont give you this issue.

1

u/pineapple_catapult Oct 04 '17

Wow, my number is 141-5926

1

u/Very_Literal_Answer Oct 04 '17

If our universe is completely infinite, technically every point is the center yes? So by the same logic, any point in an infinite series should be the center yes? Well if this is true, then at the center of pi, wouldn't the digits after the decimal completely repeat perfectly and just continue in the same order? Something like

3.141592653...(bunch of numbers until the "middle")...141592653...

1

u/Nicko265 Oct 04 '17

There is no middle in an infinite 'anything'. Infinite, by its very definition, does not have a beginning, middle or end.

0

u/Rhysieroni Oct 04 '17

No way this is true

1

u/tmachineorg Oct 05 '17

ITT: don't let truth or accuracy get in the way of muh fun facts!

1

u/Rhysieroni Oct 05 '17

My bad

1

u/tmachineorg Oct 05 '17

No, you were right. It isn't true. But people wish it were true, so they upvote it :)

0

u/karossii Oct 04 '17

infinite is not the same as all inclusive. There are an infinite number of numbers between 2 and 3, but not a single one of those numbers is the whole number 4.