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












3












$begingroup$


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











$endgroup$












  • $begingroup$
    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$.
    $endgroup$
    – lulu
    Jul 8 '17 at 14:05
















3












$begingroup$


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











$endgroup$












  • $begingroup$
    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$.
    $endgroup$
    – lulu
    Jul 8 '17 at 14:05














3












3








3


1



$begingroup$


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











$endgroup$




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,54343163




8,54343163










asked Jul 8 '17 at 13:56









ClipperClipper

192




192












  • $begingroup$
    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$.
    $endgroup$
    – lulu
    Jul 8 '17 at 14:05


















  • $begingroup$
    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$.
    $endgroup$
    – lulu
    Jul 8 '17 at 14:05
















$begingroup$
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$.
$endgroup$
– lulu
Jul 8 '17 at 14:05




$begingroup$
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$.
$endgroup$
– lulu
Jul 8 '17 at 14:05










2 Answers
2






active

oldest

votes


















2












$begingroup$

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











$endgroup$





















    1












    $begingroup$

    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









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


      }
      });














      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












      $begingroup$

      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











      $endgroup$


















        2












        $begingroup$

        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











        $endgroup$
















          2












          2








          2





          $begingroup$

          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











          $endgroup$



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




          37.7k33376























              1












              $begingroup$

              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









              $endgroup$


















                1












                $begingroup$

                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









                $endgroup$
















                  1












                  1








                  1





                  $begingroup$

                  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









                  $endgroup$



                  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.

                  103k6111208




                  103k6111208






























                      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%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

                      MongoDB - Not Authorized To Execute Command

                      in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

                      How to fix TextFormField cause rebuild widget in Flutter