If $a_1=a_2=a_3=1$ then if $n>3$ show that $2^gcd(a_n-2,a_n-3)+a_n-1=2n-5.$

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite













Question: I write $a_1=a_2=a_3=1$ and set $a_n=2^gcd(a_n-2,a_n-3)+a_n-1.$ For $n>3$ is it true and how
can I show that $a_n=2n-5$ ? In particular I would like to show that that the sequence $a_n_n=1^infty$ is the sequence $1,1,1,3,5,7,9,11,13,15,ldots$




For example if $n=7$ then $a_7=2^gcd(a_5,a_4)+a_6=2^gcd(3,5)+2=2^1+7=9.$ And $2*7-5=14-5=9.$







share|cite|improve this question















  • 2




    Seems like the critical point is just that $gcd(a_n,a_n-1)=1$ for all $n$. Good place to start.
    – lulu
    2 days ago














up vote
0
down vote

favorite













Question: I write $a_1=a_2=a_3=1$ and set $a_n=2^gcd(a_n-2,a_n-3)+a_n-1.$ For $n>3$ is it true and how
can I show that $a_n=2n-5$ ? In particular I would like to show that that the sequence $a_n_n=1^infty$ is the sequence $1,1,1,3,5,7,9,11,13,15,ldots$




For example if $n=7$ then $a_7=2^gcd(a_5,a_4)+a_6=2^gcd(3,5)+2=2^1+7=9.$ And $2*7-5=14-5=9.$







share|cite|improve this question















  • 2




    Seems like the critical point is just that $gcd(a_n,a_n-1)=1$ for all $n$. Good place to start.
    – lulu
    2 days ago












up vote
0
down vote

favorite









up vote
0
down vote

favorite












Question: I write $a_1=a_2=a_3=1$ and set $a_n=2^gcd(a_n-2,a_n-3)+a_n-1.$ For $n>3$ is it true and how
can I show that $a_n=2n-5$ ? In particular I would like to show that that the sequence $a_n_n=1^infty$ is the sequence $1,1,1,3,5,7,9,11,13,15,ldots$




For example if $n=7$ then $a_7=2^gcd(a_5,a_4)+a_6=2^gcd(3,5)+2=2^1+7=9.$ And $2*7-5=14-5=9.$







share|cite|improve this question












Question: I write $a_1=a_2=a_3=1$ and set $a_n=2^gcd(a_n-2,a_n-3)+a_n-1.$ For $n>3$ is it true and how
can I show that $a_n=2n-5$ ? In particular I would like to show that that the sequence $a_n_n=1^infty$ is the sequence $1,1,1,3,5,7,9,11,13,15,ldots$




For example if $n=7$ then $a_7=2^gcd(a_5,a_4)+a_6=2^gcd(3,5)+2=2^1+7=9.$ And $2*7-5=14-5=9.$









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked 2 days ago









Anthony Hernandez

1,224519




1,224519







  • 2




    Seems like the critical point is just that $gcd(a_n,a_n-1)=1$ for all $n$. Good place to start.
    – lulu
    2 days ago












  • 2




    Seems like the critical point is just that $gcd(a_n,a_n-1)=1$ for all $n$. Good place to start.
    – lulu
    2 days ago







2




2




Seems like the critical point is just that $gcd(a_n,a_n-1)=1$ for all $n$. Good place to start.
– lulu
2 days ago




Seems like the critical point is just that $gcd(a_n,a_n-1)=1$ for all $n$. Good place to start.
– lulu
2 days ago










1 Answer
1






active

oldest

votes

















up vote
0
down vote













@lulu per you comment (sort of) I have the following as a possible solution:




By definition $2^gcd(a_n-2,a_n-3)+a_n-1=a_n$ and so $2^gcd(a_n-2,a_n-3)=a_n-a_n-1 $ for every $n$. I can take "logs" on the LHS and RHS of the equality to get $gcd(a_n-2,a_n-3)log2=log(a_n-a_n-1)$ consequently $$gcd(a_n-2,a_n-3)=log(a_n-a_n-1)above 1.5pt log2$$ If $log(a_n-a_n-1)above 1.5pt log2=2x$ for some $xin mathbbN$ then $log(a_n-a_n-1)=2xlog2$ and so $a_n-a_n-1=4^x$ which is a contradiction. So I must have $log(a_n-a_n-1)above 1.5pt log2=2x+1$ in which case $a_n-a_n-1=2^2x+1$ which is a contradiction for $x>1$. So $x=0$ and $log(a_n-a_n-1)above 1.5pt log2=1.$ By equality $gcd(a_n-2,a_n-3)=1.$ So I have shown that $a_n=2+a_n-1.$ I know that $a_4=3$ and so I have shown that $a_n_n=1^infty$ is the sequence $1,1,1,3,5,7,ldots$ Now by recursion I have that



beginalign
a_n&=2+a_n-1\
&=2+2+a_n-2\
&=2+2+2+a_n-3\
&=underbrace2+2+2+ldots+2_text$n-4$ times+1+1+1\
&=2(n-4)+3\
&=2n-5
endalign







share|cite|improve this answer























    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2871983%2fif-a-1-a-2-a-3-1-then-if-n3-show-that-2-gcda-n-2-a-n-3a-n-1-2n%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    @lulu per you comment (sort of) I have the following as a possible solution:




    By definition $2^gcd(a_n-2,a_n-3)+a_n-1=a_n$ and so $2^gcd(a_n-2,a_n-3)=a_n-a_n-1 $ for every $n$. I can take "logs" on the LHS and RHS of the equality to get $gcd(a_n-2,a_n-3)log2=log(a_n-a_n-1)$ consequently $$gcd(a_n-2,a_n-3)=log(a_n-a_n-1)above 1.5pt log2$$ If $log(a_n-a_n-1)above 1.5pt log2=2x$ for some $xin mathbbN$ then $log(a_n-a_n-1)=2xlog2$ and so $a_n-a_n-1=4^x$ which is a contradiction. So I must have $log(a_n-a_n-1)above 1.5pt log2=2x+1$ in which case $a_n-a_n-1=2^2x+1$ which is a contradiction for $x>1$. So $x=0$ and $log(a_n-a_n-1)above 1.5pt log2=1.$ By equality $gcd(a_n-2,a_n-3)=1.$ So I have shown that $a_n=2+a_n-1.$ I know that $a_4=3$ and so I have shown that $a_n_n=1^infty$ is the sequence $1,1,1,3,5,7,ldots$ Now by recursion I have that



    beginalign
    a_n&=2+a_n-1\
    &=2+2+a_n-2\
    &=2+2+2+a_n-3\
    &=underbrace2+2+2+ldots+2_text$n-4$ times+1+1+1\
    &=2(n-4)+3\
    &=2n-5
    endalign







    share|cite|improve this answer



























      up vote
      0
      down vote













      @lulu per you comment (sort of) I have the following as a possible solution:




      By definition $2^gcd(a_n-2,a_n-3)+a_n-1=a_n$ and so $2^gcd(a_n-2,a_n-3)=a_n-a_n-1 $ for every $n$. I can take "logs" on the LHS and RHS of the equality to get $gcd(a_n-2,a_n-3)log2=log(a_n-a_n-1)$ consequently $$gcd(a_n-2,a_n-3)=log(a_n-a_n-1)above 1.5pt log2$$ If $log(a_n-a_n-1)above 1.5pt log2=2x$ for some $xin mathbbN$ then $log(a_n-a_n-1)=2xlog2$ and so $a_n-a_n-1=4^x$ which is a contradiction. So I must have $log(a_n-a_n-1)above 1.5pt log2=2x+1$ in which case $a_n-a_n-1=2^2x+1$ which is a contradiction for $x>1$. So $x=0$ and $log(a_n-a_n-1)above 1.5pt log2=1.$ By equality $gcd(a_n-2,a_n-3)=1.$ So I have shown that $a_n=2+a_n-1.$ I know that $a_4=3$ and so I have shown that $a_n_n=1^infty$ is the sequence $1,1,1,3,5,7,ldots$ Now by recursion I have that



      beginalign
      a_n&=2+a_n-1\
      &=2+2+a_n-2\
      &=2+2+2+a_n-3\
      &=underbrace2+2+2+ldots+2_text$n-4$ times+1+1+1\
      &=2(n-4)+3\
      &=2n-5
      endalign







      share|cite|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        @lulu per you comment (sort of) I have the following as a possible solution:




        By definition $2^gcd(a_n-2,a_n-3)+a_n-1=a_n$ and so $2^gcd(a_n-2,a_n-3)=a_n-a_n-1 $ for every $n$. I can take "logs" on the LHS and RHS of the equality to get $gcd(a_n-2,a_n-3)log2=log(a_n-a_n-1)$ consequently $$gcd(a_n-2,a_n-3)=log(a_n-a_n-1)above 1.5pt log2$$ If $log(a_n-a_n-1)above 1.5pt log2=2x$ for some $xin mathbbN$ then $log(a_n-a_n-1)=2xlog2$ and so $a_n-a_n-1=4^x$ which is a contradiction. So I must have $log(a_n-a_n-1)above 1.5pt log2=2x+1$ in which case $a_n-a_n-1=2^2x+1$ which is a contradiction for $x>1$. So $x=0$ and $log(a_n-a_n-1)above 1.5pt log2=1.$ By equality $gcd(a_n-2,a_n-3)=1.$ So I have shown that $a_n=2+a_n-1.$ I know that $a_4=3$ and so I have shown that $a_n_n=1^infty$ is the sequence $1,1,1,3,5,7,ldots$ Now by recursion I have that



        beginalign
        a_n&=2+a_n-1\
        &=2+2+a_n-2\
        &=2+2+2+a_n-3\
        &=underbrace2+2+2+ldots+2_text$n-4$ times+1+1+1\
        &=2(n-4)+3\
        &=2n-5
        endalign







        share|cite|improve this answer















        @lulu per you comment (sort of) I have the following as a possible solution:




        By definition $2^gcd(a_n-2,a_n-3)+a_n-1=a_n$ and so $2^gcd(a_n-2,a_n-3)=a_n-a_n-1 $ for every $n$. I can take "logs" on the LHS and RHS of the equality to get $gcd(a_n-2,a_n-3)log2=log(a_n-a_n-1)$ consequently $$gcd(a_n-2,a_n-3)=log(a_n-a_n-1)above 1.5pt log2$$ If $log(a_n-a_n-1)above 1.5pt log2=2x$ for some $xin mathbbN$ then $log(a_n-a_n-1)=2xlog2$ and so $a_n-a_n-1=4^x$ which is a contradiction. So I must have $log(a_n-a_n-1)above 1.5pt log2=2x+1$ in which case $a_n-a_n-1=2^2x+1$ which is a contradiction for $x>1$. So $x=0$ and $log(a_n-a_n-1)above 1.5pt log2=1.$ By equality $gcd(a_n-2,a_n-3)=1.$ So I have shown that $a_n=2+a_n-1.$ I know that $a_4=3$ and so I have shown that $a_n_n=1^infty$ is the sequence $1,1,1,3,5,7,ldots$ Now by recursion I have that



        beginalign
        a_n&=2+a_n-1\
        &=2+2+a_n-2\
        &=2+2+2+a_n-3\
        &=underbrace2+2+2+ldots+2_text$n-4$ times+1+1+1\
        &=2(n-4)+3\
        &=2n-5
        endalign








        share|cite|improve this answer















        share|cite|improve this answer



        share|cite|improve this answer








        edited yesterday


























        answered 2 days ago









        Anthony Hernandez

        1,224519




        1,224519






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2871983%2fif-a-1-a-2-a-3-1-then-if-n3-show-that-2-gcda-n-2-a-n-3a-n-1-2n%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What is the equation of a 3D cone with generalised tilt?

            Color the edges and diagonals of a regular polygon

            Relationship between determinant of matrix and determinant of adjoint?