Finding Cyclic Patterns in Random Constants: A Probability Puzzle

  • Thread starter CRGreathouse
  • Start date
  • Tags
    Fun
In summary, the conversation is discussing a problem involving finding patterns in a constant and the probability of the sequence eventually becoming cyclic. There is uncertainty about the probability due to the infinite possibilities and the increasing difficulty of finding longer patterns.
  • #1
CRGreathouse
Science Advisor
Homework Helper
2,845
0
Fun question/"brainteaser"

I don't think this problem really counts as a brainteaser, because I don't know the answer.

Consider a sequence like http://www.research.att.com/~njas/sequences/A097614 which works as follows:
Given a constant (pi in this case), find the first position in the constant with a decimal "0". This is a1. Then find the first position in the constant with a decimal a1; this is a2, and so on.

If the constant were 0.11777777770... instead, the sequence would be cyclic:
0, 11, 1, 1, 1, 1, ...

What is the probability that such a base-b sequence is eventually cyclic on a random constant? Here, "random constant" means that each decimal place to the right of the decimal point has a 1/b chance of taking each value in 0, 1, ..., b-1.
 
Last edited by a moderator:
Mathematics news on Phys.org
  • #2


My wild guess would be that the probability for the sequence to be infinitely long is 0. That it will either terminate abruptly (due to some string not existing in the decimals of pi), or that at some point a string will be found at one of the positions 4, 41, 415, 4159, 41592, ..., bringing you back to position 2.

Edit:
On second thought, I'm not so sure. The list of positions I mentioned is countable, while the set of all possible search strings could, for all we know, be close to the set of all possible finite strings of digits, which is awfully close to the power set of N, thus way bigger. No? Maybe?
 
Last edited:
  • #3


If the chance of finding a given n-digit sequence at any position in the random constant is b^-n, you'd expect to find n somewhere around position n. But it's much easier to slip up a digit then down one, and that quickly moves you many places forward.

I'm not sure of my intuition on this one either. It seems so likely that eventually you'd become cyclic, and yet the chance drops every time the number of digits increases; I'm not sure which would outpace the other.
 

FAQ: Finding Cyclic Patterns in Random Constants: A Probability Puzzle

What is a fun question or brainteaser?

A fun question or brainteaser is a type of puzzle or riddle that challenges a person's logic, critical thinking, and problem-solving skills. It is designed to be entertaining and can be solved through creative and unconventional thinking.

What are some examples of fun questions or brainteasers?

Some examples of fun questions or brainteasers include "What has a head and a tail, but no body?", "I am taken from a mine, and shut up in a wooden case, from which I am never released, and yet I am used by almost everyone. What am I?", and "What can travel around the world while staying in a corner?"

How do fun questions or brainteasers benefit us?

Fun questions or brainteasers can help improve our problem-solving skills, critical thinking abilities, and creativity. They also provide a fun and engaging way to exercise our brains and keep them sharp.

Can fun questions or brainteasers be used in a scientific setting?

Yes, fun questions or brainteasers can be used in a scientific setting as a way to encourage scientific thinking and experimentation. They can also be used as a tool for team-building and problem-solving in research and laboratory settings.

Are there any tips for solving fun questions or brainteasers?

Some tips for solving fun questions or brainteasers include reading the question carefully, breaking it down into smaller parts, thinking outside the box, and using trial and error. It can also be helpful to work with a partner or in a group to bounce ideas off each other.

Similar threads

Back
Top