Finding Cyclic Patterns in Random Constants: A Probability Puzzle

  • Thread starter Thread starter CRGreathouse
  • Start date Start date
  • Tags Tags
    Fun
CRGreathouse
Science Advisor
Homework Helper
Messages
2,832
Reaction score
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


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:


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.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top