Palindrome Fibonacci wordsHow to prove this theorem?Question on Proof that the Fibonacci Word is SturmianWhat...

How do I print a field from the bibliography

What sort of fish is this

Vocabulary for giving just numbers, not a full answer

Why is a very small peak with larger m/z not considered to be the molecular ion?

Why does Solve lock up when trying to solve the quadratic equation with large integers?

Why do phishing e-mails use faked e-mail addresses instead of the real one?

After `ssh` without `-X` to a machine, is it possible to change `$DISPLAY` to make it work like `ssh -X`?

What would be the most expensive material to an intergalactic society?

This Alpine town?

Can I negotiate a patent idea for a raise, under French law?

Gaining more land

Plausibility of Mushroom Buildings

Recommendation letter by significant other if you worked with them professionally?

Are small insurances worth it?

ER diagram relationship node size adjustment

Are all players supposed to be able to see each others' character sheets?

Rationale to prefer local variables over instance variables?

Specifying a starting column with colortbl package and xcolor

Is it possible that a question has only two answers?

What is Tony Stark injecting into himself in Iron Man 3?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

What is this diamond of every day?

Should I take out a loan for a friend to invest on my behalf?

What are some noteworthy "mic-drop" moments in math?



Palindrome Fibonacci words


How to prove this theorem?Question on Proof that the Fibonacci Word is SturmianWhat does “The closure of the shift-orbit of the Fibonacci word” mean?Proof with Fibonacci SequenceCounting with Combinatorics (Just need my work checked over, pretty sure it's right)Proof By Induction: Fibonacci ResultsStrong Inductive proof for inequality using Fibonacci sequenceAre all Fibonacci words uniquely represented as concatenation of two palindromes?How many 10-letter words can we find such that none of them are anagrams?Proof of patterns in Fibonacci words













3












$begingroup$


Let Fibonacci words over the alphabet ${0,1}$ be recursively defined by $omega_0=0$, $omega_1=01$, and $omega_n=omega_{n-1}omega_{n-2}$ for $ngeq{2}$. I am trying to show that the word created by removing the last two letters of $omega_n$ is a palindrome. I am not sure how to go about proving this. I think that induction might work but I'm not sure what my statement would be.










share|cite|improve this question









New contributor




K. B. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$

















    3












    $begingroup$


    Let Fibonacci words over the alphabet ${0,1}$ be recursively defined by $omega_0=0$, $omega_1=01$, and $omega_n=omega_{n-1}omega_{n-2}$ for $ngeq{2}$. I am trying to show that the word created by removing the last two letters of $omega_n$ is a palindrome. I am not sure how to go about proving this. I think that induction might work but I'm not sure what my statement would be.










    share|cite|improve this question









    New contributor




    K. B. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    $endgroup$















      3












      3








      3


      2



      $begingroup$


      Let Fibonacci words over the alphabet ${0,1}$ be recursively defined by $omega_0=0$, $omega_1=01$, and $omega_n=omega_{n-1}omega_{n-2}$ for $ngeq{2}$. I am trying to show that the word created by removing the last two letters of $omega_n$ is a palindrome. I am not sure how to go about proving this. I think that induction might work but I'm not sure what my statement would be.










      share|cite|improve this question









      New contributor




      K. B. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.







      $endgroup$




      Let Fibonacci words over the alphabet ${0,1}$ be recursively defined by $omega_0=0$, $omega_1=01$, and $omega_n=omega_{n-1}omega_{n-2}$ for $ngeq{2}$. I am trying to show that the word created by removing the last two letters of $omega_n$ is a palindrome. I am not sure how to go about proving this. I think that induction might work but I'm not sure what my statement would be.







      discrete-mathematics proof-writing recurrence-relations fibonacci-numbers






      share|cite|improve this question









      New contributor




      K. B. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|cite|improve this question









      New contributor




      K. B. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|cite|improve this question




      share|cite|improve this question








      edited 5 hours ago









      kimchi lover

      11.1k31228




      11.1k31228






      New contributor




      K. B. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 hours ago









      K. B.K. B.

      263




      263




      New contributor




      K. B. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      K. B. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      K. B. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          3 Answers
          3






          active

          oldest

          votes


















          3












          $begingroup$

          Well, the inductive formulation itself is pretty simple. Let's denote by $a_n$ the word you get by removing the last two letters of $w_n.$



          First, check the base cases: $w_2 = 010$, $w_3 =01001$ and so $a_1 = 0$, $a_2 = 010$ are indeed palindromes.



          Since, $a_n$ depends on all of the previous terms, it is probably better to use strong induction. That is, assume that for all $2leq k<n$, $a_k$ are palindromes. Then, we need to prove that:
          $$a_n = w_{n-1}a_{n-2}$$
          is a palindrome. But look at it closely,
          $$a_n = w_{n-1}a_{n-2} = a_{n-1}(xy)a_{n-2} = w_{n-2}a_{n-3}(xy)a_{n-2}=$$
          $$a_{n-2}(zt)a_{n-3}(xy)a_{n-2},$$
          which is a palindrome iff $z = y$ and $x = t,$ because our inductive hypothesis says $a_{n-3}$ is a palindrome. However, $xy$ is the last two digits of $w_{n-1}$, while $zt$ is the last two digits of $w_{n-2}.$ If you look at only the last two digits of the sequence $w_n, ngeq 2:$
          $$10,01,10,01,...$$
          . This is very easily checked by an induction and so it's clear that $z = y$ and $x = t,$ which means we are done.






          share|cite|improve this answer









          $endgroup$





















            1












            $begingroup$

            Not an answer, but I feel I was close to proving it and got stuck near the end
            $$0,01,010,01001,01001010,0100101001001,...$$
            Removing the two end characters (sequence now starting at the third term)
            $$0,010,010010,01001010010,...$$



            Assume that two consecutive terms $T_k$ and $T_{k+1}$ are palindromic when the last two characters are removed for some $kinmathbb{N}$. These terms can be written as
            $$T_k=a_0a_1...a_1a_0a_{n-1}a_n$$
            $$T_{k+1}=b_0b_1...b_1b_0b_{m-1}b_m$$
            Where $a_i, b_i in {0,1}$ and each term has $n$ and $m$ characters respectively. The term after both of these terms will be
            $$T_{k+2}=b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0a_{n-1}a_n$$
            Now for this term to be a palindrome when the last two characters are removed we need all of $a_i$ to be equal to $b_i$ (i.e. $a_0=b_0, a_1=b_1,...$) because the string formed would be
            $$b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0$$
            and we know that all of $a_i$ equal their corresponding $b_i$ becuase of the way in which the terms are defined:
            $$T_{k+1}=T_kT_{k-1}=a_0a_1...a_1a_0a_{n-1}a_nT_{k-1}=b_0b_1...b_1b_0b_{m-1}b_m$$
            This means that we only need to ensure that the central terms are palindromic.



            For large enough $k$ we can see that the initial two characters of any term will be $01$ and that the final two characters are $01$ or $10$ intermittently. This is because the final two characters are determined by the term previous to the previous term. As the terms $01$ and $010$ end in $01$ and $10$ respectively, this will cause the next term to end in $01$ and then $10$ etc.



            If the number of characters in $T_{k+2}$ is even this means that the term can be written as
            $$T_{k+2}=01b_2...b_2101001a_2...a_21001$$
            or
            $$T_{k+2}=01b_2...b_2100101a_2...a_21010$$






            share|cite|improve this answer









            $endgroup$





















              0












              $begingroup$

              My first thought on how to tackle this is perhaps not as elegant as dezdichado's, but I hope it will be more illuminating for some people.



              We start by observing that $omega_i$ is a prefix of $omega_{i+1}$, so if we take the limit there's an infinite word $Omega$ of which they are all prefixes. We then prove (by induction, if you like) that the word lengths are the Fibonacci numbers (specifically, $|omega_i| = F(i+2)$). Now we can restate the recurrence: $$forall i > 2: forall F(i) le j < F(i+1): Omega[j] = Omega[j - F(i)]$$ and the goal: $$forall i: forall j < F(i+2) - 2: Omega[j] = Omega[F(i+2) - 3 - j]$$



              Now, the rephrasing of the recurrence points us strongly at the Zeckendorf representation: every natural number has a unique representation in non-consecutive Fibonacci numbers, which can be obtained greedily by removing the largest one. E.g. we can write $30 = 21 + 8 + 1$ as $1010001_Z$. So what we have to prove is that if $j + k = F(i+2) - 3$ then either both of their Zeckendorf representations end in $1$ or neither does.



              For the actual top level proof I think contradiction is the obvious strategy: suppose wlog that $j = ldots 01_Z$ and $k = ldots 0_Z$. We observe that $F(i+2)-3$ has a representation of the form $(10)^*00_Z$ or $(10)^*010_Z$. Unfortunately the case analysis branches quite a bit and gets messy because of "backwards carries" when adding in Zeckendorf representation ($F(n) + F(n) = F(n+1) + F(n-2)$).






              share|cite|improve this answer









              $endgroup$













                Your Answer





                StackExchange.ifUsing("editor", function () {
                return StackExchange.using("mathjaxEditing", function () {
                StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
                StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
                });
                });
                }, "mathjax-editing");

                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "69"
                };
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function() {
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled) {
                StackExchange.using("snippets", function() {
                createEditor();
                });
                }
                else {
                createEditor();
                }
                });

                function createEditor() {
                StackExchange.prepareEditor({
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader: {
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                },
                noCode: true, onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                });


                }
                });






                K. B. is a new contributor. Be nice, and check out our Code of Conduct.










                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3142712%2fpalindrome-fibonacci-words%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                3












                $begingroup$

                Well, the inductive formulation itself is pretty simple. Let's denote by $a_n$ the word you get by removing the last two letters of $w_n.$



                First, check the base cases: $w_2 = 010$, $w_3 =01001$ and so $a_1 = 0$, $a_2 = 010$ are indeed palindromes.



                Since, $a_n$ depends on all of the previous terms, it is probably better to use strong induction. That is, assume that for all $2leq k<n$, $a_k$ are palindromes. Then, we need to prove that:
                $$a_n = w_{n-1}a_{n-2}$$
                is a palindrome. But look at it closely,
                $$a_n = w_{n-1}a_{n-2} = a_{n-1}(xy)a_{n-2} = w_{n-2}a_{n-3}(xy)a_{n-2}=$$
                $$a_{n-2}(zt)a_{n-3}(xy)a_{n-2},$$
                which is a palindrome iff $z = y$ and $x = t,$ because our inductive hypothesis says $a_{n-3}$ is a palindrome. However, $xy$ is the last two digits of $w_{n-1}$, while $zt$ is the last two digits of $w_{n-2}.$ If you look at only the last two digits of the sequence $w_n, ngeq 2:$
                $$10,01,10,01,...$$
                . This is very easily checked by an induction and so it's clear that $z = y$ and $x = t,$ which means we are done.






                share|cite|improve this answer









                $endgroup$


















                  3












                  $begingroup$

                  Well, the inductive formulation itself is pretty simple. Let's denote by $a_n$ the word you get by removing the last two letters of $w_n.$



                  First, check the base cases: $w_2 = 010$, $w_3 =01001$ and so $a_1 = 0$, $a_2 = 010$ are indeed palindromes.



                  Since, $a_n$ depends on all of the previous terms, it is probably better to use strong induction. That is, assume that for all $2leq k<n$, $a_k$ are palindromes. Then, we need to prove that:
                  $$a_n = w_{n-1}a_{n-2}$$
                  is a palindrome. But look at it closely,
                  $$a_n = w_{n-1}a_{n-2} = a_{n-1}(xy)a_{n-2} = w_{n-2}a_{n-3}(xy)a_{n-2}=$$
                  $$a_{n-2}(zt)a_{n-3}(xy)a_{n-2},$$
                  which is a palindrome iff $z = y$ and $x = t,$ because our inductive hypothesis says $a_{n-3}$ is a palindrome. However, $xy$ is the last two digits of $w_{n-1}$, while $zt$ is the last two digits of $w_{n-2}.$ If you look at only the last two digits of the sequence $w_n, ngeq 2:$
                  $$10,01,10,01,...$$
                  . This is very easily checked by an induction and so it's clear that $z = y$ and $x = t,$ which means we are done.






                  share|cite|improve this answer









                  $endgroup$
















                    3












                    3








                    3





                    $begingroup$

                    Well, the inductive formulation itself is pretty simple. Let's denote by $a_n$ the word you get by removing the last two letters of $w_n.$



                    First, check the base cases: $w_2 = 010$, $w_3 =01001$ and so $a_1 = 0$, $a_2 = 010$ are indeed palindromes.



                    Since, $a_n$ depends on all of the previous terms, it is probably better to use strong induction. That is, assume that for all $2leq k<n$, $a_k$ are palindromes. Then, we need to prove that:
                    $$a_n = w_{n-1}a_{n-2}$$
                    is a palindrome. But look at it closely,
                    $$a_n = w_{n-1}a_{n-2} = a_{n-1}(xy)a_{n-2} = w_{n-2}a_{n-3}(xy)a_{n-2}=$$
                    $$a_{n-2}(zt)a_{n-3}(xy)a_{n-2},$$
                    which is a palindrome iff $z = y$ and $x = t,$ because our inductive hypothesis says $a_{n-3}$ is a palindrome. However, $xy$ is the last two digits of $w_{n-1}$, while $zt$ is the last two digits of $w_{n-2}.$ If you look at only the last two digits of the sequence $w_n, ngeq 2:$
                    $$10,01,10,01,...$$
                    . This is very easily checked by an induction and so it's clear that $z = y$ and $x = t,$ which means we are done.






                    share|cite|improve this answer









                    $endgroup$



                    Well, the inductive formulation itself is pretty simple. Let's denote by $a_n$ the word you get by removing the last two letters of $w_n.$



                    First, check the base cases: $w_2 = 010$, $w_3 =01001$ and so $a_1 = 0$, $a_2 = 010$ are indeed palindromes.



                    Since, $a_n$ depends on all of the previous terms, it is probably better to use strong induction. That is, assume that for all $2leq k<n$, $a_k$ are palindromes. Then, we need to prove that:
                    $$a_n = w_{n-1}a_{n-2}$$
                    is a palindrome. But look at it closely,
                    $$a_n = w_{n-1}a_{n-2} = a_{n-1}(xy)a_{n-2} = w_{n-2}a_{n-3}(xy)a_{n-2}=$$
                    $$a_{n-2}(zt)a_{n-3}(xy)a_{n-2},$$
                    which is a palindrome iff $z = y$ and $x = t,$ because our inductive hypothesis says $a_{n-3}$ is a palindrome. However, $xy$ is the last two digits of $w_{n-1}$, while $zt$ is the last two digits of $w_{n-2}.$ If you look at only the last two digits of the sequence $w_n, ngeq 2:$
                    $$10,01,10,01,...$$
                    . This is very easily checked by an induction and so it's clear that $z = y$ and $x = t,$ which means we are done.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered 4 hours ago









                    dezdichadodezdichado

                    6,4391929




                    6,4391929























                        1












                        $begingroup$

                        Not an answer, but I feel I was close to proving it and got stuck near the end
                        $$0,01,010,01001,01001010,0100101001001,...$$
                        Removing the two end characters (sequence now starting at the third term)
                        $$0,010,010010,01001010010,...$$



                        Assume that two consecutive terms $T_k$ and $T_{k+1}$ are palindromic when the last two characters are removed for some $kinmathbb{N}$. These terms can be written as
                        $$T_k=a_0a_1...a_1a_0a_{n-1}a_n$$
                        $$T_{k+1}=b_0b_1...b_1b_0b_{m-1}b_m$$
                        Where $a_i, b_i in {0,1}$ and each term has $n$ and $m$ characters respectively. The term after both of these terms will be
                        $$T_{k+2}=b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0a_{n-1}a_n$$
                        Now for this term to be a palindrome when the last two characters are removed we need all of $a_i$ to be equal to $b_i$ (i.e. $a_0=b_0, a_1=b_1,...$) because the string formed would be
                        $$b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0$$
                        and we know that all of $a_i$ equal their corresponding $b_i$ becuase of the way in which the terms are defined:
                        $$T_{k+1}=T_kT_{k-1}=a_0a_1...a_1a_0a_{n-1}a_nT_{k-1}=b_0b_1...b_1b_0b_{m-1}b_m$$
                        This means that we only need to ensure that the central terms are palindromic.



                        For large enough $k$ we can see that the initial two characters of any term will be $01$ and that the final two characters are $01$ or $10$ intermittently. This is because the final two characters are determined by the term previous to the previous term. As the terms $01$ and $010$ end in $01$ and $10$ respectively, this will cause the next term to end in $01$ and then $10$ etc.



                        If the number of characters in $T_{k+2}$ is even this means that the term can be written as
                        $$T_{k+2}=01b_2...b_2101001a_2...a_21001$$
                        or
                        $$T_{k+2}=01b_2...b_2100101a_2...a_21010$$






                        share|cite|improve this answer









                        $endgroup$


















                          1












                          $begingroup$

                          Not an answer, but I feel I was close to proving it and got stuck near the end
                          $$0,01,010,01001,01001010,0100101001001,...$$
                          Removing the two end characters (sequence now starting at the third term)
                          $$0,010,010010,01001010010,...$$



                          Assume that two consecutive terms $T_k$ and $T_{k+1}$ are palindromic when the last two characters are removed for some $kinmathbb{N}$. These terms can be written as
                          $$T_k=a_0a_1...a_1a_0a_{n-1}a_n$$
                          $$T_{k+1}=b_0b_1...b_1b_0b_{m-1}b_m$$
                          Where $a_i, b_i in {0,1}$ and each term has $n$ and $m$ characters respectively. The term after both of these terms will be
                          $$T_{k+2}=b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0a_{n-1}a_n$$
                          Now for this term to be a palindrome when the last two characters are removed we need all of $a_i$ to be equal to $b_i$ (i.e. $a_0=b_0, a_1=b_1,...$) because the string formed would be
                          $$b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0$$
                          and we know that all of $a_i$ equal their corresponding $b_i$ becuase of the way in which the terms are defined:
                          $$T_{k+1}=T_kT_{k-1}=a_0a_1...a_1a_0a_{n-1}a_nT_{k-1}=b_0b_1...b_1b_0b_{m-1}b_m$$
                          This means that we only need to ensure that the central terms are palindromic.



                          For large enough $k$ we can see that the initial two characters of any term will be $01$ and that the final two characters are $01$ or $10$ intermittently. This is because the final two characters are determined by the term previous to the previous term. As the terms $01$ and $010$ end in $01$ and $10$ respectively, this will cause the next term to end in $01$ and then $10$ etc.



                          If the number of characters in $T_{k+2}$ is even this means that the term can be written as
                          $$T_{k+2}=01b_2...b_2101001a_2...a_21001$$
                          or
                          $$T_{k+2}=01b_2...b_2100101a_2...a_21010$$






                          share|cite|improve this answer









                          $endgroup$
















                            1












                            1








                            1





                            $begingroup$

                            Not an answer, but I feel I was close to proving it and got stuck near the end
                            $$0,01,010,01001,01001010,0100101001001,...$$
                            Removing the two end characters (sequence now starting at the third term)
                            $$0,010,010010,01001010010,...$$



                            Assume that two consecutive terms $T_k$ and $T_{k+1}$ are palindromic when the last two characters are removed for some $kinmathbb{N}$. These terms can be written as
                            $$T_k=a_0a_1...a_1a_0a_{n-1}a_n$$
                            $$T_{k+1}=b_0b_1...b_1b_0b_{m-1}b_m$$
                            Where $a_i, b_i in {0,1}$ and each term has $n$ and $m$ characters respectively. The term after both of these terms will be
                            $$T_{k+2}=b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0a_{n-1}a_n$$
                            Now for this term to be a palindrome when the last two characters are removed we need all of $a_i$ to be equal to $b_i$ (i.e. $a_0=b_0, a_1=b_1,...$) because the string formed would be
                            $$b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0$$
                            and we know that all of $a_i$ equal their corresponding $b_i$ becuase of the way in which the terms are defined:
                            $$T_{k+1}=T_kT_{k-1}=a_0a_1...a_1a_0a_{n-1}a_nT_{k-1}=b_0b_1...b_1b_0b_{m-1}b_m$$
                            This means that we only need to ensure that the central terms are palindromic.



                            For large enough $k$ we can see that the initial two characters of any term will be $01$ and that the final two characters are $01$ or $10$ intermittently. This is because the final two characters are determined by the term previous to the previous term. As the terms $01$ and $010$ end in $01$ and $10$ respectively, this will cause the next term to end in $01$ and then $10$ etc.



                            If the number of characters in $T_{k+2}$ is even this means that the term can be written as
                            $$T_{k+2}=01b_2...b_2101001a_2...a_21001$$
                            or
                            $$T_{k+2}=01b_2...b_2100101a_2...a_21010$$






                            share|cite|improve this answer









                            $endgroup$



                            Not an answer, but I feel I was close to proving it and got stuck near the end
                            $$0,01,010,01001,01001010,0100101001001,...$$
                            Removing the two end characters (sequence now starting at the third term)
                            $$0,010,010010,01001010010,...$$



                            Assume that two consecutive terms $T_k$ and $T_{k+1}$ are palindromic when the last two characters are removed for some $kinmathbb{N}$. These terms can be written as
                            $$T_k=a_0a_1...a_1a_0a_{n-1}a_n$$
                            $$T_{k+1}=b_0b_1...b_1b_0b_{m-1}b_m$$
                            Where $a_i, b_i in {0,1}$ and each term has $n$ and $m$ characters respectively. The term after both of these terms will be
                            $$T_{k+2}=b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0a_{n-1}a_n$$
                            Now for this term to be a palindrome when the last two characters are removed we need all of $a_i$ to be equal to $b_i$ (i.e. $a_0=b_0, a_1=b_1,...$) because the string formed would be
                            $$b_0b_1...b_1b_0b_{m-1}b_ma_0a_1...a_1a_0$$
                            and we know that all of $a_i$ equal their corresponding $b_i$ becuase of the way in which the terms are defined:
                            $$T_{k+1}=T_kT_{k-1}=a_0a_1...a_1a_0a_{n-1}a_nT_{k-1}=b_0b_1...b_1b_0b_{m-1}b_m$$
                            This means that we only need to ensure that the central terms are palindromic.



                            For large enough $k$ we can see that the initial two characters of any term will be $01$ and that the final two characters are $01$ or $10$ intermittently. This is because the final two characters are determined by the term previous to the previous term. As the terms $01$ and $010$ end in $01$ and $10$ respectively, this will cause the next term to end in $01$ and then $10$ etc.



                            If the number of characters in $T_{k+2}$ is even this means that the term can be written as
                            $$T_{k+2}=01b_2...b_2101001a_2...a_21001$$
                            or
                            $$T_{k+2}=01b_2...b_2100101a_2...a_21010$$







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered 4 hours ago









                            Peter ForemanPeter Foreman

                            3,4421216




                            3,4421216























                                0












                                $begingroup$

                                My first thought on how to tackle this is perhaps not as elegant as dezdichado's, but I hope it will be more illuminating for some people.



                                We start by observing that $omega_i$ is a prefix of $omega_{i+1}$, so if we take the limit there's an infinite word $Omega$ of which they are all prefixes. We then prove (by induction, if you like) that the word lengths are the Fibonacci numbers (specifically, $|omega_i| = F(i+2)$). Now we can restate the recurrence: $$forall i > 2: forall F(i) le j < F(i+1): Omega[j] = Omega[j - F(i)]$$ and the goal: $$forall i: forall j < F(i+2) - 2: Omega[j] = Omega[F(i+2) - 3 - j]$$



                                Now, the rephrasing of the recurrence points us strongly at the Zeckendorf representation: every natural number has a unique representation in non-consecutive Fibonacci numbers, which can be obtained greedily by removing the largest one. E.g. we can write $30 = 21 + 8 + 1$ as $1010001_Z$. So what we have to prove is that if $j + k = F(i+2) - 3$ then either both of their Zeckendorf representations end in $1$ or neither does.



                                For the actual top level proof I think contradiction is the obvious strategy: suppose wlog that $j = ldots 01_Z$ and $k = ldots 0_Z$. We observe that $F(i+2)-3$ has a representation of the form $(10)^*00_Z$ or $(10)^*010_Z$. Unfortunately the case analysis branches quite a bit and gets messy because of "backwards carries" when adding in Zeckendorf representation ($F(n) + F(n) = F(n+1) + F(n-2)$).






                                share|cite|improve this answer









                                $endgroup$


















                                  0












                                  $begingroup$

                                  My first thought on how to tackle this is perhaps not as elegant as dezdichado's, but I hope it will be more illuminating for some people.



                                  We start by observing that $omega_i$ is a prefix of $omega_{i+1}$, so if we take the limit there's an infinite word $Omega$ of which they are all prefixes. We then prove (by induction, if you like) that the word lengths are the Fibonacci numbers (specifically, $|omega_i| = F(i+2)$). Now we can restate the recurrence: $$forall i > 2: forall F(i) le j < F(i+1): Omega[j] = Omega[j - F(i)]$$ and the goal: $$forall i: forall j < F(i+2) - 2: Omega[j] = Omega[F(i+2) - 3 - j]$$



                                  Now, the rephrasing of the recurrence points us strongly at the Zeckendorf representation: every natural number has a unique representation in non-consecutive Fibonacci numbers, which can be obtained greedily by removing the largest one. E.g. we can write $30 = 21 + 8 + 1$ as $1010001_Z$. So what we have to prove is that if $j + k = F(i+2) - 3$ then either both of their Zeckendorf representations end in $1$ or neither does.



                                  For the actual top level proof I think contradiction is the obvious strategy: suppose wlog that $j = ldots 01_Z$ and $k = ldots 0_Z$. We observe that $F(i+2)-3$ has a representation of the form $(10)^*00_Z$ or $(10)^*010_Z$. Unfortunately the case analysis branches quite a bit and gets messy because of "backwards carries" when adding in Zeckendorf representation ($F(n) + F(n) = F(n+1) + F(n-2)$).






                                  share|cite|improve this answer









                                  $endgroup$
















                                    0












                                    0








                                    0





                                    $begingroup$

                                    My first thought on how to tackle this is perhaps not as elegant as dezdichado's, but I hope it will be more illuminating for some people.



                                    We start by observing that $omega_i$ is a prefix of $omega_{i+1}$, so if we take the limit there's an infinite word $Omega$ of which they are all prefixes. We then prove (by induction, if you like) that the word lengths are the Fibonacci numbers (specifically, $|omega_i| = F(i+2)$). Now we can restate the recurrence: $$forall i > 2: forall F(i) le j < F(i+1): Omega[j] = Omega[j - F(i)]$$ and the goal: $$forall i: forall j < F(i+2) - 2: Omega[j] = Omega[F(i+2) - 3 - j]$$



                                    Now, the rephrasing of the recurrence points us strongly at the Zeckendorf representation: every natural number has a unique representation in non-consecutive Fibonacci numbers, which can be obtained greedily by removing the largest one. E.g. we can write $30 = 21 + 8 + 1$ as $1010001_Z$. So what we have to prove is that if $j + k = F(i+2) - 3$ then either both of their Zeckendorf representations end in $1$ or neither does.



                                    For the actual top level proof I think contradiction is the obvious strategy: suppose wlog that $j = ldots 01_Z$ and $k = ldots 0_Z$. We observe that $F(i+2)-3$ has a representation of the form $(10)^*00_Z$ or $(10)^*010_Z$. Unfortunately the case analysis branches quite a bit and gets messy because of "backwards carries" when adding in Zeckendorf representation ($F(n) + F(n) = F(n+1) + F(n-2)$).






                                    share|cite|improve this answer









                                    $endgroup$



                                    My first thought on how to tackle this is perhaps not as elegant as dezdichado's, but I hope it will be more illuminating for some people.



                                    We start by observing that $omega_i$ is a prefix of $omega_{i+1}$, so if we take the limit there's an infinite word $Omega$ of which they are all prefixes. We then prove (by induction, if you like) that the word lengths are the Fibonacci numbers (specifically, $|omega_i| = F(i+2)$). Now we can restate the recurrence: $$forall i > 2: forall F(i) le j < F(i+1): Omega[j] = Omega[j - F(i)]$$ and the goal: $$forall i: forall j < F(i+2) - 2: Omega[j] = Omega[F(i+2) - 3 - j]$$



                                    Now, the rephrasing of the recurrence points us strongly at the Zeckendorf representation: every natural number has a unique representation in non-consecutive Fibonacci numbers, which can be obtained greedily by removing the largest one. E.g. we can write $30 = 21 + 8 + 1$ as $1010001_Z$. So what we have to prove is that if $j + k = F(i+2) - 3$ then either both of their Zeckendorf representations end in $1$ or neither does.



                                    For the actual top level proof I think contradiction is the obvious strategy: suppose wlog that $j = ldots 01_Z$ and $k = ldots 0_Z$. We observe that $F(i+2)-3$ has a representation of the form $(10)^*00_Z$ or $(10)^*010_Z$. Unfortunately the case analysis branches quite a bit and gets messy because of "backwards carries" when adding in Zeckendorf representation ($F(n) + F(n) = F(n+1) + F(n-2)$).







                                    share|cite|improve this answer












                                    share|cite|improve this answer



                                    share|cite|improve this answer










                                    answered 17 mins ago









                                    Peter TaylorPeter Taylor

                                    9,09712342




                                    9,09712342






















                                        K. B. is a new contributor. Be nice, and check out our Code of Conduct.










                                        draft saved

                                        draft discarded


















                                        K. B. is a new contributor. Be nice, and check out our Code of Conduct.













                                        K. B. is a new contributor. Be nice, and check out our Code of Conduct.












                                        K. B. is a new contributor. Be nice, and check out our Code of Conduct.
















                                        Thanks for contributing an answer to Mathematics Stack Exchange!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid



                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.


                                        Use MathJax to format equations. MathJax reference.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3142712%2fpalindrome-fibonacci-words%23new-answer', 'question_page');
                                        }
                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Gersau Kjelder | Navigasjonsmeny46°59′0″N 8°31′0″E46°59′0″N...

                                        Hestehale Innhaldsliste Hestehale på kvinner | Hestehale på menn | Galleri | Sjå òg |...

                                        What is the “three and three hundred thousand syndrome”?Who wrote the book Arena?What five creatures were...