Let $nin mathbb{N}, n > 1$ Show that some numbers are coprimes.












0












$begingroup$



Let $nin mathbb{N}, n > 1$. Show that



$${a^2+a-1,a^3+a^2-1,...}$$



contains an infinite subset $S$ s. t. every $2$ distinct elements are coprimes.




I don't know how to even approach this.. can you give me some places to start?
Attempt:



$a^3+a^2-1=a(a^2+a-1)+a-1$. Using Euclid algorithms we determine that:



$a^2+a-1=(a+2)(a-1)+1implies (a^3+a^2-1,a^2+a-1)=1$ so they are relatively prime.



I was thinking of something like this:



Let $p,q inmathbb{N}, p > q > 1$ then some random elements of that set should be:
$a^p+a^{p-1}-1, a^q+a^{q-1}-1$. Then we need to show that:



$$(a^p+a^{p-1}-1,a^q+a^{q-1}-1)=1$$



Right?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Does $a=n$? Also...aren't $a^3+a^2-1$ and $a^2+a-1$ always relatively prime? So just take $S$ to be those two.
    $endgroup$
    – lulu
    Jan 20 at 14:15








  • 3




    $begingroup$
    @Peter it's an infinite subset
    $endgroup$
    – C. Cristi
    Jan 20 at 14:20






  • 1




    $begingroup$
    We must show that every pair (not only neighboured pairs) are coprime. Moreover, you did not clarify what $n$ is.
    $endgroup$
    – Peter
    Jan 20 at 14:29








  • 1




    $begingroup$
    @Dr.Mathva And that is equivalent to proving that $$(a^{n-p}-1,a^{p+1}+a^p-1)=1 ;;forall n,pin mathbb N : n>p$$
    $endgroup$
    – Servaes
    Jan 20 at 16:49






  • 1




    $begingroup$
    This is a tough problem, and is very similar to an old Romanian problem, I don't remember the year. Read my proof below. By the way, I strongly suggest that for contest problems, you better try AoPS forums, as the people there are, much more comfortable with contest math type of problems, where in here and MathOverFlow, the value of these elegant problems are underestimated.
    $endgroup$
    – Aaron
    Jan 20 at 21:44
















0












$begingroup$



Let $nin mathbb{N}, n > 1$. Show that



$${a^2+a-1,a^3+a^2-1,...}$$



contains an infinite subset $S$ s. t. every $2$ distinct elements are coprimes.




I don't know how to even approach this.. can you give me some places to start?
Attempt:



$a^3+a^2-1=a(a^2+a-1)+a-1$. Using Euclid algorithms we determine that:



$a^2+a-1=(a+2)(a-1)+1implies (a^3+a^2-1,a^2+a-1)=1$ so they are relatively prime.



I was thinking of something like this:



Let $p,q inmathbb{N}, p > q > 1$ then some random elements of that set should be:
$a^p+a^{p-1}-1, a^q+a^{q-1}-1$. Then we need to show that:



$$(a^p+a^{p-1}-1,a^q+a^{q-1}-1)=1$$



Right?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Does $a=n$? Also...aren't $a^3+a^2-1$ and $a^2+a-1$ always relatively prime? So just take $S$ to be those two.
    $endgroup$
    – lulu
    Jan 20 at 14:15








  • 3




    $begingroup$
    @Peter it's an infinite subset
    $endgroup$
    – C. Cristi
    Jan 20 at 14:20






  • 1




    $begingroup$
    We must show that every pair (not only neighboured pairs) are coprime. Moreover, you did not clarify what $n$ is.
    $endgroup$
    – Peter
    Jan 20 at 14:29








  • 1




    $begingroup$
    @Dr.Mathva And that is equivalent to proving that $$(a^{n-p}-1,a^{p+1}+a^p-1)=1 ;;forall n,pin mathbb N : n>p$$
    $endgroup$
    – Servaes
    Jan 20 at 16:49






  • 1




    $begingroup$
    This is a tough problem, and is very similar to an old Romanian problem, I don't remember the year. Read my proof below. By the way, I strongly suggest that for contest problems, you better try AoPS forums, as the people there are, much more comfortable with contest math type of problems, where in here and MathOverFlow, the value of these elegant problems are underestimated.
    $endgroup$
    – Aaron
    Jan 20 at 21:44














0












0








0


2



$begingroup$



Let $nin mathbb{N}, n > 1$. Show that



$${a^2+a-1,a^3+a^2-1,...}$$



contains an infinite subset $S$ s. t. every $2$ distinct elements are coprimes.




I don't know how to even approach this.. can you give me some places to start?
Attempt:



$a^3+a^2-1=a(a^2+a-1)+a-1$. Using Euclid algorithms we determine that:



$a^2+a-1=(a+2)(a-1)+1implies (a^3+a^2-1,a^2+a-1)=1$ so they are relatively prime.



I was thinking of something like this:



Let $p,q inmathbb{N}, p > q > 1$ then some random elements of that set should be:
$a^p+a^{p-1}-1, a^q+a^{q-1}-1$. Then we need to show that:



$$(a^p+a^{p-1}-1,a^q+a^{q-1}-1)=1$$



Right?










share|cite|improve this question











$endgroup$





Let $nin mathbb{N}, n > 1$. Show that



$${a^2+a-1,a^3+a^2-1,...}$$



contains an infinite subset $S$ s. t. every $2$ distinct elements are coprimes.




I don't know how to even approach this.. can you give me some places to start?
Attempt:



$a^3+a^2-1=a(a^2+a-1)+a-1$. Using Euclid algorithms we determine that:



$a^2+a-1=(a+2)(a-1)+1implies (a^3+a^2-1,a^2+a-1)=1$ so they are relatively prime.



I was thinking of something like this:



Let $p,q inmathbb{N}, p > q > 1$ then some random elements of that set should be:
$a^p+a^{p-1}-1, a^q+a^{q-1}-1$. Then we need to show that:



$$(a^p+a^{p-1}-1,a^q+a^{q-1}-1)=1$$



Right?







number-theory elementary-number-theory contest-math coprime






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 20 at 14:33









greedoid

43.2k1153105




43.2k1153105










asked Jan 20 at 14:13









C. CristiC. Cristi

1,634218




1,634218








  • 1




    $begingroup$
    Does $a=n$? Also...aren't $a^3+a^2-1$ and $a^2+a-1$ always relatively prime? So just take $S$ to be those two.
    $endgroup$
    – lulu
    Jan 20 at 14:15








  • 3




    $begingroup$
    @Peter it's an infinite subset
    $endgroup$
    – C. Cristi
    Jan 20 at 14:20






  • 1




    $begingroup$
    We must show that every pair (not only neighboured pairs) are coprime. Moreover, you did not clarify what $n$ is.
    $endgroup$
    – Peter
    Jan 20 at 14:29








  • 1




    $begingroup$
    @Dr.Mathva And that is equivalent to proving that $$(a^{n-p}-1,a^{p+1}+a^p-1)=1 ;;forall n,pin mathbb N : n>p$$
    $endgroup$
    – Servaes
    Jan 20 at 16:49






  • 1




    $begingroup$
    This is a tough problem, and is very similar to an old Romanian problem, I don't remember the year. Read my proof below. By the way, I strongly suggest that for contest problems, you better try AoPS forums, as the people there are, much more comfortable with contest math type of problems, where in here and MathOverFlow, the value of these elegant problems are underestimated.
    $endgroup$
    – Aaron
    Jan 20 at 21:44














  • 1




    $begingroup$
    Does $a=n$? Also...aren't $a^3+a^2-1$ and $a^2+a-1$ always relatively prime? So just take $S$ to be those two.
    $endgroup$
    – lulu
    Jan 20 at 14:15








  • 3




    $begingroup$
    @Peter it's an infinite subset
    $endgroup$
    – C. Cristi
    Jan 20 at 14:20






  • 1




    $begingroup$
    We must show that every pair (not only neighboured pairs) are coprime. Moreover, you did not clarify what $n$ is.
    $endgroup$
    – Peter
    Jan 20 at 14:29








  • 1




    $begingroup$
    @Dr.Mathva And that is equivalent to proving that $$(a^{n-p}-1,a^{p+1}+a^p-1)=1 ;;forall n,pin mathbb N : n>p$$
    $endgroup$
    – Servaes
    Jan 20 at 16:49






  • 1




    $begingroup$
    This is a tough problem, and is very similar to an old Romanian problem, I don't remember the year. Read my proof below. By the way, I strongly suggest that for contest problems, you better try AoPS forums, as the people there are, much more comfortable with contest math type of problems, where in here and MathOverFlow, the value of these elegant problems are underestimated.
    $endgroup$
    – Aaron
    Jan 20 at 21:44








1




1




$begingroup$
Does $a=n$? Also...aren't $a^3+a^2-1$ and $a^2+a-1$ always relatively prime? So just take $S$ to be those two.
$endgroup$
– lulu
Jan 20 at 14:15






$begingroup$
Does $a=n$? Also...aren't $a^3+a^2-1$ and $a^2+a-1$ always relatively prime? So just take $S$ to be those two.
$endgroup$
– lulu
Jan 20 at 14:15






3




3




$begingroup$
@Peter it's an infinite subset
$endgroup$
– C. Cristi
Jan 20 at 14:20




$begingroup$
@Peter it's an infinite subset
$endgroup$
– C. Cristi
Jan 20 at 14:20




1




1




$begingroup$
We must show that every pair (not only neighboured pairs) are coprime. Moreover, you did not clarify what $n$ is.
$endgroup$
– Peter
Jan 20 at 14:29






$begingroup$
We must show that every pair (not only neighboured pairs) are coprime. Moreover, you did not clarify what $n$ is.
$endgroup$
– Peter
Jan 20 at 14:29






1




1




$begingroup$
@Dr.Mathva And that is equivalent to proving that $$(a^{n-p}-1,a^{p+1}+a^p-1)=1 ;;forall n,pin mathbb N : n>p$$
$endgroup$
– Servaes
Jan 20 at 16:49




$begingroup$
@Dr.Mathva And that is equivalent to proving that $$(a^{n-p}-1,a^{p+1}+a^p-1)=1 ;;forall n,pin mathbb N : n>p$$
$endgroup$
– Servaes
Jan 20 at 16:49




1




1




$begingroup$
This is a tough problem, and is very similar to an old Romanian problem, I don't remember the year. Read my proof below. By the way, I strongly suggest that for contest problems, you better try AoPS forums, as the people there are, much more comfortable with contest math type of problems, where in here and MathOverFlow, the value of these elegant problems are underestimated.
$endgroup$
– Aaron
Jan 20 at 21:44




$begingroup$
This is a tough problem, and is very similar to an old Romanian problem, I don't remember the year. Read my proof below. By the way, I strongly suggest that for contest problems, you better try AoPS forums, as the people there are, much more comfortable with contest math type of problems, where in here and MathOverFlow, the value of these elegant problems are underestimated.
$endgroup$
– Aaron
Jan 20 at 21:44










2 Answers
2






active

oldest

votes


















4












$begingroup$

Nice problem.



Here it is. Let $a_k=a^k+a^{k-1}-1$. We will construct such a set inductively. First, take any $k_1$, and add $a_{k_1}$ to the list. Now, let $k_2=phi(a_{k_1})$, where $phi(cdot)$ is the Euler's totient function. Since $(a,a_k)=1$ for every $k$, it follows from Euler's theorem that, $a^{k_2+1}+a^{k_2}-1equiv apmod{a_{k_1}}$, which is coprime with $a_{k_1}$, as $a$ is coprime with $a_{k_1}$.



Now, having constructed this set up to its $n^{th}$ element, that is, $Ssupset {a_{k_1},a_{k_2},dots,a_{k_n}}$, we now search for an $k_{n+1}$ so that, $(a_{k_{n+1}},a_{k_i})=1$ for each $1leq i leq n$. To do so, it suffices to select $k_{n+1}=phi(a_{k_1})cdots phi(a_{k_n})$.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    This is not an answer, as John Omielen commented below. It just responded Peter's comment in the question by proving that as polynomials in $a$, the elements in the set are pairwise coprime. I do not see a direct proof of the original question from this fact.



    By the Euclid algorithm, for any pair of natural numbers $p > q$,



    $$
    begin{aligned}
    gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) &= gcd(a^{p+1} + a^p - 1 - a^{p-q}(a^{q+1} + a^q - 1)), a^{q+1} + a^q - 1)\
    &= gcd(a^{p-q}-1, a^{q+1} + a^q - 1).
    end{aligned}
    $$



    Taking them as polynomials in $a$, if the g.c.d. is not 1, then there is an element $xi in mathbb C$ such that



    $$
    begin{aligned}
    xi^{p-q} &= 1;\
    xi^{q+1} + xi ^q &= 1.
    end{aligned}
    $$



    The first equation tells that $xi$ is a root of unity, and the second equation tells us that $xi^{q+1}$ and $xi$ lies on the unit circle on the complex plane, and the angle between them and the origin is $120^circ$. The only chance for this to be true is $xi$ be a primitive root of unity. But in this case $xi^{q+1} + xi^q = -xi^{q-1} neq 1$.



    Therefore, $gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) = 1$ for all $p neq q$.






    share|cite|improve this answer











    $endgroup$













    • $begingroup$
      Thank you for pointing out. The purpose of this was to reply Peter’s comments on the relative primality of the sequence as polynomials in $a$. I thought it was sufficient but it was not. Maybe I will delete my post later.
      $endgroup$
      – Hw Chu
      Jan 21 at 2:41










    • $begingroup$
      You are welcome. As you have explicitly addressed my concerns stated in my comment at the top of your answer, I have deleted my original comment as I don't believe it's needed any more.
      $endgroup$
      – John Omielan
      Jan 22 at 9:12











    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3080627%2flet-n-in-mathbbn-n-1-show-that-some-numbers-are-coprimes%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4












    $begingroup$

    Nice problem.



    Here it is. Let $a_k=a^k+a^{k-1}-1$. We will construct such a set inductively. First, take any $k_1$, and add $a_{k_1}$ to the list. Now, let $k_2=phi(a_{k_1})$, where $phi(cdot)$ is the Euler's totient function. Since $(a,a_k)=1$ for every $k$, it follows from Euler's theorem that, $a^{k_2+1}+a^{k_2}-1equiv apmod{a_{k_1}}$, which is coprime with $a_{k_1}$, as $a$ is coprime with $a_{k_1}$.



    Now, having constructed this set up to its $n^{th}$ element, that is, $Ssupset {a_{k_1},a_{k_2},dots,a_{k_n}}$, we now search for an $k_{n+1}$ so that, $(a_{k_{n+1}},a_{k_i})=1$ for each $1leq i leq n$. To do so, it suffices to select $k_{n+1}=phi(a_{k_1})cdots phi(a_{k_n})$.






    share|cite|improve this answer









    $endgroup$


















      4












      $begingroup$

      Nice problem.



      Here it is. Let $a_k=a^k+a^{k-1}-1$. We will construct such a set inductively. First, take any $k_1$, and add $a_{k_1}$ to the list. Now, let $k_2=phi(a_{k_1})$, where $phi(cdot)$ is the Euler's totient function. Since $(a,a_k)=1$ for every $k$, it follows from Euler's theorem that, $a^{k_2+1}+a^{k_2}-1equiv apmod{a_{k_1}}$, which is coprime with $a_{k_1}$, as $a$ is coprime with $a_{k_1}$.



      Now, having constructed this set up to its $n^{th}$ element, that is, $Ssupset {a_{k_1},a_{k_2},dots,a_{k_n}}$, we now search for an $k_{n+1}$ so that, $(a_{k_{n+1}},a_{k_i})=1$ for each $1leq i leq n$. To do so, it suffices to select $k_{n+1}=phi(a_{k_1})cdots phi(a_{k_n})$.






      share|cite|improve this answer









      $endgroup$
















        4












        4








        4





        $begingroup$

        Nice problem.



        Here it is. Let $a_k=a^k+a^{k-1}-1$. We will construct such a set inductively. First, take any $k_1$, and add $a_{k_1}$ to the list. Now, let $k_2=phi(a_{k_1})$, where $phi(cdot)$ is the Euler's totient function. Since $(a,a_k)=1$ for every $k$, it follows from Euler's theorem that, $a^{k_2+1}+a^{k_2}-1equiv apmod{a_{k_1}}$, which is coprime with $a_{k_1}$, as $a$ is coprime with $a_{k_1}$.



        Now, having constructed this set up to its $n^{th}$ element, that is, $Ssupset {a_{k_1},a_{k_2},dots,a_{k_n}}$, we now search for an $k_{n+1}$ so that, $(a_{k_{n+1}},a_{k_i})=1$ for each $1leq i leq n$. To do so, it suffices to select $k_{n+1}=phi(a_{k_1})cdots phi(a_{k_n})$.






        share|cite|improve this answer









        $endgroup$



        Nice problem.



        Here it is. Let $a_k=a^k+a^{k-1}-1$. We will construct such a set inductively. First, take any $k_1$, and add $a_{k_1}$ to the list. Now, let $k_2=phi(a_{k_1})$, where $phi(cdot)$ is the Euler's totient function. Since $(a,a_k)=1$ for every $k$, it follows from Euler's theorem that, $a^{k_2+1}+a^{k_2}-1equiv apmod{a_{k_1}}$, which is coprime with $a_{k_1}$, as $a$ is coprime with $a_{k_1}$.



        Now, having constructed this set up to its $n^{th}$ element, that is, $Ssupset {a_{k_1},a_{k_2},dots,a_{k_n}}$, we now search for an $k_{n+1}$ so that, $(a_{k_{n+1}},a_{k_i})=1$ for each $1leq i leq n$. To do so, it suffices to select $k_{n+1}=phi(a_{k_1})cdots phi(a_{k_n})$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 20 at 21:43









        AaronAaron

        1,902415




        1,902415























            0












            $begingroup$

            This is not an answer, as John Omielen commented below. It just responded Peter's comment in the question by proving that as polynomials in $a$, the elements in the set are pairwise coprime. I do not see a direct proof of the original question from this fact.



            By the Euclid algorithm, for any pair of natural numbers $p > q$,



            $$
            begin{aligned}
            gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) &= gcd(a^{p+1} + a^p - 1 - a^{p-q}(a^{q+1} + a^q - 1)), a^{q+1} + a^q - 1)\
            &= gcd(a^{p-q}-1, a^{q+1} + a^q - 1).
            end{aligned}
            $$



            Taking them as polynomials in $a$, if the g.c.d. is not 1, then there is an element $xi in mathbb C$ such that



            $$
            begin{aligned}
            xi^{p-q} &= 1;\
            xi^{q+1} + xi ^q &= 1.
            end{aligned}
            $$



            The first equation tells that $xi$ is a root of unity, and the second equation tells us that $xi^{q+1}$ and $xi$ lies on the unit circle on the complex plane, and the angle between them and the origin is $120^circ$. The only chance for this to be true is $xi$ be a primitive root of unity. But in this case $xi^{q+1} + xi^q = -xi^{q-1} neq 1$.



            Therefore, $gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) = 1$ for all $p neq q$.






            share|cite|improve this answer











            $endgroup$













            • $begingroup$
              Thank you for pointing out. The purpose of this was to reply Peter’s comments on the relative primality of the sequence as polynomials in $a$. I thought it was sufficient but it was not. Maybe I will delete my post later.
              $endgroup$
              – Hw Chu
              Jan 21 at 2:41










            • $begingroup$
              You are welcome. As you have explicitly addressed my concerns stated in my comment at the top of your answer, I have deleted my original comment as I don't believe it's needed any more.
              $endgroup$
              – John Omielan
              Jan 22 at 9:12
















            0












            $begingroup$

            This is not an answer, as John Omielen commented below. It just responded Peter's comment in the question by proving that as polynomials in $a$, the elements in the set are pairwise coprime. I do not see a direct proof of the original question from this fact.



            By the Euclid algorithm, for any pair of natural numbers $p > q$,



            $$
            begin{aligned}
            gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) &= gcd(a^{p+1} + a^p - 1 - a^{p-q}(a^{q+1} + a^q - 1)), a^{q+1} + a^q - 1)\
            &= gcd(a^{p-q}-1, a^{q+1} + a^q - 1).
            end{aligned}
            $$



            Taking them as polynomials in $a$, if the g.c.d. is not 1, then there is an element $xi in mathbb C$ such that



            $$
            begin{aligned}
            xi^{p-q} &= 1;\
            xi^{q+1} + xi ^q &= 1.
            end{aligned}
            $$



            The first equation tells that $xi$ is a root of unity, and the second equation tells us that $xi^{q+1}$ and $xi$ lies on the unit circle on the complex plane, and the angle between them and the origin is $120^circ$. The only chance for this to be true is $xi$ be a primitive root of unity. But in this case $xi^{q+1} + xi^q = -xi^{q-1} neq 1$.



            Therefore, $gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) = 1$ for all $p neq q$.






            share|cite|improve this answer











            $endgroup$













            • $begingroup$
              Thank you for pointing out. The purpose of this was to reply Peter’s comments on the relative primality of the sequence as polynomials in $a$. I thought it was sufficient but it was not. Maybe I will delete my post later.
              $endgroup$
              – Hw Chu
              Jan 21 at 2:41










            • $begingroup$
              You are welcome. As you have explicitly addressed my concerns stated in my comment at the top of your answer, I have deleted my original comment as I don't believe it's needed any more.
              $endgroup$
              – John Omielan
              Jan 22 at 9:12














            0












            0








            0





            $begingroup$

            This is not an answer, as John Omielen commented below. It just responded Peter's comment in the question by proving that as polynomials in $a$, the elements in the set are pairwise coprime. I do not see a direct proof of the original question from this fact.



            By the Euclid algorithm, for any pair of natural numbers $p > q$,



            $$
            begin{aligned}
            gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) &= gcd(a^{p+1} + a^p - 1 - a^{p-q}(a^{q+1} + a^q - 1)), a^{q+1} + a^q - 1)\
            &= gcd(a^{p-q}-1, a^{q+1} + a^q - 1).
            end{aligned}
            $$



            Taking them as polynomials in $a$, if the g.c.d. is not 1, then there is an element $xi in mathbb C$ such that



            $$
            begin{aligned}
            xi^{p-q} &= 1;\
            xi^{q+1} + xi ^q &= 1.
            end{aligned}
            $$



            The first equation tells that $xi$ is a root of unity, and the second equation tells us that $xi^{q+1}$ and $xi$ lies on the unit circle on the complex plane, and the angle between them and the origin is $120^circ$. The only chance for this to be true is $xi$ be a primitive root of unity. But in this case $xi^{q+1} + xi^q = -xi^{q-1} neq 1$.



            Therefore, $gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) = 1$ for all $p neq q$.






            share|cite|improve this answer











            $endgroup$



            This is not an answer, as John Omielen commented below. It just responded Peter's comment in the question by proving that as polynomials in $a$, the elements in the set are pairwise coprime. I do not see a direct proof of the original question from this fact.



            By the Euclid algorithm, for any pair of natural numbers $p > q$,



            $$
            begin{aligned}
            gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) &= gcd(a^{p+1} + a^p - 1 - a^{p-q}(a^{q+1} + a^q - 1)), a^{q+1} + a^q - 1)\
            &= gcd(a^{p-q}-1, a^{q+1} + a^q - 1).
            end{aligned}
            $$



            Taking them as polynomials in $a$, if the g.c.d. is not 1, then there is an element $xi in mathbb C$ such that



            $$
            begin{aligned}
            xi^{p-q} &= 1;\
            xi^{q+1} + xi ^q &= 1.
            end{aligned}
            $$



            The first equation tells that $xi$ is a root of unity, and the second equation tells us that $xi^{q+1}$ and $xi$ lies on the unit circle on the complex plane, and the angle between them and the origin is $120^circ$. The only chance for this to be true is $xi$ be a primitive root of unity. But in this case $xi^{q+1} + xi^q = -xi^{q-1} neq 1$.



            Therefore, $gcd(a^{p+1} + a^p - 1, a^{q+1} + a^q - 1) = 1$ for all $p neq q$.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Jan 21 at 12:25

























            answered Jan 20 at 20:29









            Hw ChuHw Chu

            3,192519




            3,192519












            • $begingroup$
              Thank you for pointing out. The purpose of this was to reply Peter’s comments on the relative primality of the sequence as polynomials in $a$. I thought it was sufficient but it was not. Maybe I will delete my post later.
              $endgroup$
              – Hw Chu
              Jan 21 at 2:41










            • $begingroup$
              You are welcome. As you have explicitly addressed my concerns stated in my comment at the top of your answer, I have deleted my original comment as I don't believe it's needed any more.
              $endgroup$
              – John Omielan
              Jan 22 at 9:12


















            • $begingroup$
              Thank you for pointing out. The purpose of this was to reply Peter’s comments on the relative primality of the sequence as polynomials in $a$. I thought it was sufficient but it was not. Maybe I will delete my post later.
              $endgroup$
              – Hw Chu
              Jan 21 at 2:41










            • $begingroup$
              You are welcome. As you have explicitly addressed my concerns stated in my comment at the top of your answer, I have deleted my original comment as I don't believe it's needed any more.
              $endgroup$
              – John Omielan
              Jan 22 at 9:12
















            $begingroup$
            Thank you for pointing out. The purpose of this was to reply Peter’s comments on the relative primality of the sequence as polynomials in $a$. I thought it was sufficient but it was not. Maybe I will delete my post later.
            $endgroup$
            – Hw Chu
            Jan 21 at 2:41




            $begingroup$
            Thank you for pointing out. The purpose of this was to reply Peter’s comments on the relative primality of the sequence as polynomials in $a$. I thought it was sufficient but it was not. Maybe I will delete my post later.
            $endgroup$
            – Hw Chu
            Jan 21 at 2:41












            $begingroup$
            You are welcome. As you have explicitly addressed my concerns stated in my comment at the top of your answer, I have deleted my original comment as I don't believe it's needed any more.
            $endgroup$
            – John Omielan
            Jan 22 at 9:12




            $begingroup$
            You are welcome. As you have explicitly addressed my concerns stated in my comment at the top of your answer, I have deleted my original comment as I don't believe it's needed any more.
            $endgroup$
            – John Omielan
            Jan 22 at 9:12


















            draft saved

            draft discarded




















































            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%2f3080627%2flet-n-in-mathbbn-n-1-show-that-some-numbers-are-coprimes%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

            Mario Kart Wii

            Understanding the size os this class of aleatory events

            Partial Derivative Guidance.