this post was submitted on 26 Dec 2024
216 points (98.6% liked)

Asklemmy

44272 readers
780 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

How about ANY FINITE SEQUENCE AT ALL?

(page 2) 50 comments
sorted by: hot top controversial new old
[โ€“] putoelquelolea@lemmy.ml 3 points 1 week ago (1 children)

My guess would be that - depending on the number of digits you are looking for in the sequence - you could calculate the probability of finding any given group of those digits.

For example, there is a 100% probability of finding any group of two, three or four digits, but that probability decreases as you approach one hundred thousand digits.

Of course, the difficulty in proving this hypothesis rests on the computing power needed to prove it empirically and the number of digits of Pi available. That is, a million digits of Pi is a small number if you are looking for a ten thousand digit sequence

[โ€“] Melatonin@lemmy.dbzer0.com 2 points 1 week ago (1 children)

But surely given infinity, there is no problem finding a number of ANY length. It's there, somewhere, eventually, given that nothing repeats, the number is NORMAL, as people have said, and infinite.

The probability is 100% for any number, no matter how large, isn't it?

Smart people?

load more comments (1 replies)
[โ€“] LodeMike@lemmy.today 2 points 1 week ago (1 children)
[โ€“] weker01@sh.itjust.works 3 points 1 week ago* (last edited 1 week ago) (1 children)

Can you prove this? Or link a proof?

[โ€“] LodeMike@lemmy.today 2 points 1 week ago (5 children)

I don't know of one but the proof is simple. Let me try (badly) to make one up:

If it doesn't go into a loop of some kind, then it necessarily must include all finite strings (that's a theoretical compsci term).

Basically, take a string of any finite length, and then view pi in inrements of this length. Calculate it out to double the amount of substrings of length of your target string's interval you have [or intervals]. Check if your string one of those intervals. If not, do it again until it is, doubling how long you calculate each time.

Because pi is non-repeating, each doubling in intervals must necessarily include at least one new interval from all other previous ones. And because your target string length is finite, you have a finite upper limit to how many of these doublings you have to search. I think it's n in the length of your target string.

Someone please check my work I'm bad at these things, but that's the general idea. It's also wildly inefficient This doesn't work with Infinite strings because of diagnonalization.

[โ€“] kogasa@programming.dev 4 points 1 week ago

Your first sentence asserts the claim to be proved. Actually it asserts something much stronger which is also false, as e.g. 0.101001000100001... is a non-repeating decimal which doesn't include "2". While pi is known to be irrational and transcendental, there is no known proof that it is normal or even disjunctive, and generally such proofs are hard to come by except for pathological numbers constructed specifically to be normal/disjunctive or not.

[โ€“] weker01@sh.itjust.works 2 points 1 week ago (1 children)

Let me give another counterexample. Let x be the binary expansion of pi i.e. the infinite string representing pi in base 2.

Now you will not find 2 in this sequence by definition but it's still a non-repeating number.

Now one can validly say that we restricted our alphabet and we should look only for finite strings with digits that actually occure in the number. The answer is the string "23456789" concatenated with x.

[โ€“] LodeMike@lemmy.today 1 points 1 week ago (1 children)

That's like saying your car is busted because it can't drive on a road made of broken glass.

[โ€“] weker01@sh.itjust.works 1 points 1 week ago* (last edited 1 week ago)

That's mathematics. It do be like that sometimes. Counterexamples can be stupid but still valid.

It's on you to prove your claims.

load more comments (3 replies)
load more comments
view more: โ€น prev next โ€บ