I recently had a problem in my mind and am having some trouble proving my solution, have a look.
Imagine I make a string of numbers with only 1's and 0's. ex:
How many numbers (1's and 0's) would I have to write (at least) to guarantee a repetition of any -string number. Ex: Let , generate a random sequence of 1's and 0's: . Notice that the first 2 digits are "", so is the 5th and 6th "" a repetition!
For , I have proved a string of length must have at least one repetition. For we have answer . Similarly, for , we found the answer to be , the string length cannot exceed without repeating a -string number. I couldn't find a number for but I have shown that for any the string length does not exceed but I suspect might be the general formula (If you substitute and you will find the results match), but I haven't been able to prove this for all .
PS: I think the solution might be related to graph theory.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
For n=2, surely this is 6?
This is a well-studied problem. Maybe try OEIS first next time: http://oeis.org/A052944