Consider the binary look-and-say sequence : 1 , 1 1 , 1 0 1 , 1 1 1 0 1 1 , 1 1 1 1 0 1 0 1 , and so on.
Let f ( n ) denote the times the string "100" appears in the n th term. Then f ( 8 ) = 2 , for example, because the 8 th term equals 1 1 1 1 0 0 1 1 1 0 1 0 1 1 0 1 0 0 1 1 0 1 1 1 0 1 1 .
What is n → ∞ lim f ( n − 1 ) f ( n ) ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Did you diagonalize M? I tried to but I couldn't find enough eigenvectors. By the way there's a small typo in the table: label G becomes I, not J.
Log in to reply
Thanks for pointing out the typo.
As to diagonalising M , I did not have to. I am not even sure if M can be diagonalised. It can, however, certainly be put in Jordan normal form, so the lack of diagonalisability may be due so some Jordan blocks with eigenvalue 0 of size up to 4 , and possibility a Jordan block with eigenvalue 1 of size 2 . The first of these will contribute nothing to f ( n ) for large n , since these Jordan blocks are nilpotent. The other Jordan block may contribute terms of order n to f ( n ) , since ( 1 0 1 1 ) n = ( 1 0 n 1 ) but any such term will be overwhelmed by the terms in f ( n ) of the order 1 . 4 6 5 5 7 n .
Thus we only need consider the largest eigenvalue of M .
Log in to reply
Thank you. After doing some research, I think I have put it in Jordan normal form. It turns out there is no Jordan block of size 2. The numbers r 1 , r 2 , and r 3 are the roots of t 3 − t 2 − 1 , two of which are non-real complex numbers. I have confirmed that M P = P J .
P = ⎝ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎛ 0 0 0 1 0 − 1 0 − 1 0 1 0 0 0 0 − 1 1 0 0 1 − 1 0 0 − 1 0 1 0 1 0 − 1 0 0 0 1 0 0 0 − 1 − 1 0 1 0 0 0 1 0 0 0 − 1 0 0 1 1 0 0 0 0 0 − 1 0 0 3 − 3 4 − 2 − 4 4 − 2 1 2 − 2 0 0 r 1 2 r 1 2 r 1 1 1 1 1 / r 1 1 / r 1 2 0 0 r 2 2 r 2 2 r 2 1 1 1 1 / r 2 1 / r 2 2 0 0 r 3 2 r 3 2 r 3 1 1 1 1 / r 3 1 / r 3 2 ⎠ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎞ , J = ⎝ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎛ 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 − 1 0 0 0 0 0 0 0 0 0 0 r 1 0 0 0 0 0 0 0 0 0 0 r 2 0 0 0 0 0 0 0 0 0 0 r 3 ⎠ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎞
Log in to reply
@Nate Jellis – That makes things easy...
@Nate Jellis – It is even simpler to note that M has only one eigenvector of eigenvalue 0 , namely ⎝ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎛ 0 0 0 1 0 − 1 0 − 1 0 1 ⎠ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎞ while it has two eigenvectors of eigenvalue 1 , namely ⎝ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎛ 1 1 0 0 0 0 0 − 1 0 0 ⎠ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎞ ⎝ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎛ 1 1 0 − 1 0 0 0 0 0 0 ⎠ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎞ Thus the Jordan normal form for M contains a single Jordan block with eigenvalue 0 and size 4 , and is otherwise diagonal. In other words, the JNF for M is indeed the matrix J .
How does a zero end up in a look-and-say sequence? Especially as an unmatched term ("101")? Yes, one 0, but one what? It seems to be somewhat arbitrarily inserted. Zero 0s is a sequence that has to be grabbed out of thin air.
Log in to reply
If you look at the transition table, you will see that C always occurs succeeded by either A, D, or H. Thus means that there is always something after the final 1 in the C to make sense... Give it a try...
This is a binary look-and-say sequence… not a base-10 one. Since in binary, '2' -> '10', we can say that '11' -> '101', that is, two ones.
Look = say 1 = 'one' 1-1 = 'one-one' 10-1 = 'two-ones' 1-1, 1-0, 1-1 = 'one-one, one-zero, one-one' 11-1, 1-0, 10-1 -> 'thee-ones, one-zero, two-ones' …… and so on.
Looking at the ternary look-and-say sequence, we find it has zeros also:
Look = say 1 = 'one' 1-1 = 'one-one' 2-1 = 'two-ones' 1-2, 1-1 = 'one-two, two ones' 1-1, 1-2, 2-1 = 'one-one, one-two, two-ones' 10-1, 2-2, 1-1 = 'three-ones, two-twos, one-one' …… and so on.
Starting with a single 'one' doesn't produce zeros within the sequence for any base higher than four, however. But that's how you get zeros in a look-and-say sequence using base 2 or base 3.
How can we generate the transition table? Is there more details about the transition table?
Log in to reply
The important thing is to choose subsequences that don't interact with each other. For example the fourth term is broken up like this: 1110 / 11. If you "look and say" the first part you get 11110. If you do the second part you get 101. Combined, that's 11110101, which is the correct value of the fifth term.
Notice that C through J each start with 1 and end with 0. Anything with this property will continue to have this property under the rules because the binary numbers don't have any leading zeros.
Here's a python program that will calculate the correct limit using a binary look-and-say method that utilizes a decimal to binary converter.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|
The number of 10 distinct binary subsequences in a binary look and say sequence which include binary subsequence 100, grow according to matrix of order 10 (T-matrix). For details of binary look and say sequence and matrix T, check the link below:
http://www.njohnston.ca/2010/11/the-binary-look-and-say-sequence/
Starting only with first non-zero sub sequence-1 (1,0,0,0,0,0,0,0,0,0), we keep multiplying with T matrix of order 10, repeatedly and find the ratio of growth of 7th sub sequence-100 ( 7th entry in the eigen vector). Just after 40 multiplications the 7th entry of eigenvector f(40)=234813 and f(39)= 160229 converges to the ratio in the question f(40)/f(39)=1.46557.
This indeed is the power iteration method of finding the largest eigenvalue of a matrix.
The characterstic polynomial of the T matrix also shows a factor (x^3-x^2-1) whose zero is also equal to 1.4655, which is the largest eigenvalue of matrix T.
Thus, Answer=1.4655
Problem Loading...
Note Loading...
Set Loading...
The terms in this sequence can all be expressed as collections of 10 specific subsequences. The table below details the particular subsequences, and what each subsequence contributes to the next generation L a b e l A B C D E F G H I J S e q u e n c e 1 1 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 0 0 1 1 0 0 1 1 1 0 0 1 1 1 1 0 0 B e c o m e s B C A E C D F G D I C H J G H Thus if the subsequence A occurs v ( n ) 1 times, the subsequence B occurs v ( n ) 2 times, the subsequence C occurs v ( n ) 3 times, ..., and the subsequence J occurs v ( n ) 1 0 times in the n th term of this sequence, then v ( n + 1 ) = M v ( n ) where M = ⎝ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎛ 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 ⎠ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎞ and so f ( n ) = ⎝ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎛ 0 0 0 0 0 0 1 1 1 1 ⎠ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎞ T M n − 1 ⎝ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎛ 1 0 0 0 0 0 0 0 0 0 ⎠ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎞ The characteristic polynomial of M is χ M ( t ) = t 4 ( t − 1 ) 2 ( t + 1 ) ( t 3 − t 2 − 1 ) and some standard linear algebra tells us that lim n → ∞ f ( n − 1 ) f ( n ) is equal to the largest real eigenvalue of M , which is the real root of t 3 − t 2 − 1 = 0 , namely 1 . 4 6 5 5 7 .