$ a^{n}+b^{n} $ prime. How to show that n is a power of two?












3














Let $ a,b in mathbb{N} setminus {0,1}$ and $n in mathbb{N^{ast }}. $
Let $a^{n}+b^{n} $ prime. How to show that n is a power of two ? I know it works if we suppose that $n=2k(2p+1)$ and then show that it implies $ a^{n}+b^{n} = 0 $ but can't do it.



Sorry, I have a little bit of trouble with LaTex too.










share|cite|improve this question
























  • Hint: if $n=2^km$ where $m$ is odd then $a^n+b^n$ is divisible by $a^{2^k}+b^{2^k}$. Of course you have to handle the case where the quotient is $1$, as in $2=1^3+1^3$.
    – lulu
    Jul 8 '17 at 14:05
















3














Let $ a,b in mathbb{N} setminus {0,1}$ and $n in mathbb{N^{ast }}. $
Let $a^{n}+b^{n} $ prime. How to show that n is a power of two ? I know it works if we suppose that $n=2k(2p+1)$ and then show that it implies $ a^{n}+b^{n} = 0 $ but can't do it.



Sorry, I have a little bit of trouble with LaTex too.










share|cite|improve this question
























  • Hint: if $n=2^km$ where $m$ is odd then $a^n+b^n$ is divisible by $a^{2^k}+b^{2^k}$. Of course you have to handle the case where the quotient is $1$, as in $2=1^3+1^3$.
    – lulu
    Jul 8 '17 at 14:05














3












3








3


1





Let $ a,b in mathbb{N} setminus {0,1}$ and $n in mathbb{N^{ast }}. $
Let $a^{n}+b^{n} $ prime. How to show that n is a power of two ? I know it works if we suppose that $n=2k(2p+1)$ and then show that it implies $ a^{n}+b^{n} = 0 $ but can't do it.



Sorry, I have a little bit of trouble with LaTex too.










share|cite|improve this question















Let $ a,b in mathbb{N} setminus {0,1}$ and $n in mathbb{N^{ast }}. $
Let $a^{n}+b^{n} $ prime. How to show that n is a power of two ? I know it works if we suppose that $n=2k(2p+1)$ and then show that it implies $ a^{n}+b^{n} = 0 $ but can't do it.



Sorry, I have a little bit of trouble with LaTex too.







elementary-number-theory arithmetic






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jul 8 '17 at 14:14









MathOverview

8,53643163




8,53643163










asked Jul 8 '17 at 13:56









ClipperClipper

192




192












  • Hint: if $n=2^km$ where $m$ is odd then $a^n+b^n$ is divisible by $a^{2^k}+b^{2^k}$. Of course you have to handle the case where the quotient is $1$, as in $2=1^3+1^3$.
    – lulu
    Jul 8 '17 at 14:05


















  • Hint: if $n=2^km$ where $m$ is odd then $a^n+b^n$ is divisible by $a^{2^k}+b^{2^k}$. Of course you have to handle the case where the quotient is $1$, as in $2=1^3+1^3$.
    – lulu
    Jul 8 '17 at 14:05
















Hint: if $n=2^km$ where $m$ is odd then $a^n+b^n$ is divisible by $a^{2^k}+b^{2^k}$. Of course you have to handle the case where the quotient is $1$, as in $2=1^3+1^3$.
– lulu
Jul 8 '17 at 14:05




Hint: if $n=2^km$ where $m$ is odd then $a^n+b^n$ is divisible by $a^{2^k}+b^{2^k}$. Of course you have to handle the case where the quotient is $1$, as in $2=1^3+1^3$.
– lulu
Jul 8 '17 at 14:05










2 Answers
2






active

oldest

votes


















2














Try to show the following:



Let $n=l2^k$, where $l$ is co prime to $2$ (in other words, it's odd). Then, it is infact true that $a^n+b^n$ is a multiple of $a^{2^k} + b^{2^k}$.



If you can't then look at this box:




Let $d = a^{2^k}$ and $e=b^{2^k}$, then this is basically saying that $d^l + e^l$ is a multiple of $d+e$ whenever $l$ is odd.
Which is true, since $dfrac{d^l+e^l}{d+e} = displaystylesum_{k=0}^{l-1} (-1)^ka^kb^{l-1-k}$. Put back $d$ and $e$ in terms of $a$ and $b$ to get the proof.




Therefore, unless $l=1$, the expression $a^n+b^n$ always has a non-trivial factor. Infact, we can even figure out what it is from the above formula.



For example, $7^6+2^6 = 117713 = 53 times 2221$, and $53 = 7^2+2^2$.



This proves your statement.






share|cite|improve this answer































    1














    Hint If $n=(2k+1)m$ with $kgeq 1$ odd then
    $$a^n+b^n=(a^m)^{2k+1}+(b^m)^{2k+1}=(a^m+b^m)(a^{2km}-a^{(2k-1)m}b^m+...+b^{2km})$$






    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',
      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%2f2350463%2fanbn-prime-how-to-show-that-n-is-a-power-of-two%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









      2














      Try to show the following:



      Let $n=l2^k$, where $l$ is co prime to $2$ (in other words, it's odd). Then, it is infact true that $a^n+b^n$ is a multiple of $a^{2^k} + b^{2^k}$.



      If you can't then look at this box:




      Let $d = a^{2^k}$ and $e=b^{2^k}$, then this is basically saying that $d^l + e^l$ is a multiple of $d+e$ whenever $l$ is odd.
      Which is true, since $dfrac{d^l+e^l}{d+e} = displaystylesum_{k=0}^{l-1} (-1)^ka^kb^{l-1-k}$. Put back $d$ and $e$ in terms of $a$ and $b$ to get the proof.




      Therefore, unless $l=1$, the expression $a^n+b^n$ always has a non-trivial factor. Infact, we can even figure out what it is from the above formula.



      For example, $7^6+2^6 = 117713 = 53 times 2221$, and $53 = 7^2+2^2$.



      This proves your statement.






      share|cite|improve this answer




























        2














        Try to show the following:



        Let $n=l2^k$, where $l$ is co prime to $2$ (in other words, it's odd). Then, it is infact true that $a^n+b^n$ is a multiple of $a^{2^k} + b^{2^k}$.



        If you can't then look at this box:




        Let $d = a^{2^k}$ and $e=b^{2^k}$, then this is basically saying that $d^l + e^l$ is a multiple of $d+e$ whenever $l$ is odd.
        Which is true, since $dfrac{d^l+e^l}{d+e} = displaystylesum_{k=0}^{l-1} (-1)^ka^kb^{l-1-k}$. Put back $d$ and $e$ in terms of $a$ and $b$ to get the proof.




        Therefore, unless $l=1$, the expression $a^n+b^n$ always has a non-trivial factor. Infact, we can even figure out what it is from the above formula.



        For example, $7^6+2^6 = 117713 = 53 times 2221$, and $53 = 7^2+2^2$.



        This proves your statement.






        share|cite|improve this answer


























          2












          2








          2






          Try to show the following:



          Let $n=l2^k$, where $l$ is co prime to $2$ (in other words, it's odd). Then, it is infact true that $a^n+b^n$ is a multiple of $a^{2^k} + b^{2^k}$.



          If you can't then look at this box:




          Let $d = a^{2^k}$ and $e=b^{2^k}$, then this is basically saying that $d^l + e^l$ is a multiple of $d+e$ whenever $l$ is odd.
          Which is true, since $dfrac{d^l+e^l}{d+e} = displaystylesum_{k=0}^{l-1} (-1)^ka^kb^{l-1-k}$. Put back $d$ and $e$ in terms of $a$ and $b$ to get the proof.




          Therefore, unless $l=1$, the expression $a^n+b^n$ always has a non-trivial factor. Infact, we can even figure out what it is from the above formula.



          For example, $7^6+2^6 = 117713 = 53 times 2221$, and $53 = 7^2+2^2$.



          This proves your statement.






          share|cite|improve this answer














          Try to show the following:



          Let $n=l2^k$, where $l$ is co prime to $2$ (in other words, it's odd). Then, it is infact true that $a^n+b^n$ is a multiple of $a^{2^k} + b^{2^k}$.



          If you can't then look at this box:




          Let $d = a^{2^k}$ and $e=b^{2^k}$, then this is basically saying that $d^l + e^l$ is a multiple of $d+e$ whenever $l$ is odd.
          Which is true, since $dfrac{d^l+e^l}{d+e} = displaystylesum_{k=0}^{l-1} (-1)^ka^kb^{l-1-k}$. Put back $d$ and $e$ in terms of $a$ and $b$ to get the proof.




          Therefore, unless $l=1$, the expression $a^n+b^n$ always has a non-trivial factor. Infact, we can even figure out what it is from the above formula.



          For example, $7^6+2^6 = 117713 = 53 times 2221$, and $53 = 7^2+2^2$.



          This proves your statement.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jan 4 at 5:50

























          answered Jul 8 '17 at 14:21









          астон вілла олоф мэллбэргастон вілла олоф мэллбэрг

          37.4k33376




          37.4k33376























              1














              Hint If $n=(2k+1)m$ with $kgeq 1$ odd then
              $$a^n+b^n=(a^m)^{2k+1}+(b^m)^{2k+1}=(a^m+b^m)(a^{2km}-a^{(2k-1)m}b^m+...+b^{2km})$$






              share|cite|improve this answer


























                1














                Hint If $n=(2k+1)m$ with $kgeq 1$ odd then
                $$a^n+b^n=(a^m)^{2k+1}+(b^m)^{2k+1}=(a^m+b^m)(a^{2km}-a^{(2k-1)m}b^m+...+b^{2km})$$






                share|cite|improve this answer
























                  1












                  1








                  1






                  Hint If $n=(2k+1)m$ with $kgeq 1$ odd then
                  $$a^n+b^n=(a^m)^{2k+1}+(b^m)^{2k+1}=(a^m+b^m)(a^{2km}-a^{(2k-1)m}b^m+...+b^{2km})$$






                  share|cite|improve this answer












                  Hint If $n=(2k+1)m$ with $kgeq 1$ odd then
                  $$a^n+b^n=(a^m)^{2k+1}+(b^m)^{2k+1}=(a^m+b^m)(a^{2km}-a^{(2k-1)m}b^m+...+b^{2km})$$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jul 8 '17 at 14:53









                  N. S.N. S.

                  102k5110206




                  102k5110206






























                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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.


                      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%2f2350463%2fanbn-prime-how-to-show-that-n-is-a-power-of-two%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

                      1300-talet

                      1300-talet

                      Display a custom attribute below product name in the front-end Magento 1.9.3.8