Prove that $6n+n^7$ is divisible by $7$ for $n>0$

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











up vote
0
down vote

favorite













Prove that $6n+n^7$ is divisible by $7$ for $n>0$.




Skip the $n=1$ part...



Induction hypothesis:
$P(k)=6k+k^7=k(6+k^6)$ is divisible by $7$



For $n=k+1$, we have that $$P(k+1)=6(k+1)+(k+1)^7=(k+1)[6+(k+1)^6]$$
How should I continue? Thanks










share|cite|improve this question



















  • 1




    Here's a thing (for this problem and others): if you have an epression in $n$, and you decide for whatever reason (make it induction) to substitute "$n$" with "$k+1$", then you must do some manipulation that uses the fact that you've written "$k+1$" instead "$n$". If you could solve it with manipulation that you can do with the expression in "$n$" (say, grouping a "$k+1$" instead of grouping a "$n$"), then you would have solved it already.
    – Saucy O'Path
    Sep 9 at 10:24















up vote
0
down vote

favorite













Prove that $6n+n^7$ is divisible by $7$ for $n>0$.




Skip the $n=1$ part...



Induction hypothesis:
$P(k)=6k+k^7=k(6+k^6)$ is divisible by $7$



For $n=k+1$, we have that $$P(k+1)=6(k+1)+(k+1)^7=(k+1)[6+(k+1)^6]$$
How should I continue? Thanks










share|cite|improve this question



















  • 1




    Here's a thing (for this problem and others): if you have an epression in $n$, and you decide for whatever reason (make it induction) to substitute "$n$" with "$k+1$", then you must do some manipulation that uses the fact that you've written "$k+1$" instead "$n$". If you could solve it with manipulation that you can do with the expression in "$n$" (say, grouping a "$k+1$" instead of grouping a "$n$"), then you would have solved it already.
    – Saucy O'Path
    Sep 9 at 10:24













up vote
0
down vote

favorite









up vote
0
down vote

favorite












Prove that $6n+n^7$ is divisible by $7$ for $n>0$.




Skip the $n=1$ part...



Induction hypothesis:
$P(k)=6k+k^7=k(6+k^6)$ is divisible by $7$



For $n=k+1$, we have that $$P(k+1)=6(k+1)+(k+1)^7=(k+1)[6+(k+1)^6]$$
How should I continue? Thanks










share|cite|improve this question
















Prove that $6n+n^7$ is divisible by $7$ for $n>0$.




Skip the $n=1$ part...



Induction hypothesis:
$P(k)=6k+k^7=k(6+k^6)$ is divisible by $7$



For $n=k+1$, we have that $$P(k+1)=6(k+1)+(k+1)^7=(k+1)[6+(k+1)^6]$$
How should I continue? Thanks







elementary-number-theory induction divisibility






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Sep 9 at 10:24









TheSimpliFire

11k62255




11k62255










asked Sep 9 at 10:19









George Daravigkas

142




142







  • 1




    Here's a thing (for this problem and others): if you have an epression in $n$, and you decide for whatever reason (make it induction) to substitute "$n$" with "$k+1$", then you must do some manipulation that uses the fact that you've written "$k+1$" instead "$n$". If you could solve it with manipulation that you can do with the expression in "$n$" (say, grouping a "$k+1$" instead of grouping a "$n$"), then you would have solved it already.
    – Saucy O'Path
    Sep 9 at 10:24













  • 1




    Here's a thing (for this problem and others): if you have an epression in $n$, and you decide for whatever reason (make it induction) to substitute "$n$" with "$k+1$", then you must do some manipulation that uses the fact that you've written "$k+1$" instead "$n$". If you could solve it with manipulation that you can do with the expression in "$n$" (say, grouping a "$k+1$" instead of grouping a "$n$"), then you would have solved it already.
    – Saucy O'Path
    Sep 9 at 10:24








1




1




Here's a thing (for this problem and others): if you have an epression in $n$, and you decide for whatever reason (make it induction) to substitute "$n$" with "$k+1$", then you must do some manipulation that uses the fact that you've written "$k+1$" instead "$n$". If you could solve it with manipulation that you can do with the expression in "$n$" (say, grouping a "$k+1$" instead of grouping a "$n$"), then you would have solved it already.
– Saucy O'Path
Sep 9 at 10:24





Here's a thing (for this problem and others): if you have an epression in $n$, and you decide for whatever reason (make it induction) to substitute "$n$" with "$k+1$", then you must do some manipulation that uses the fact that you've written "$k+1$" instead "$n$". If you could solve it with manipulation that you can do with the expression in "$n$" (say, grouping a "$k+1$" instead of grouping a "$n$"), then you would have solved it already.
– Saucy O'Path
Sep 9 at 10:24











6 Answers
6






active

oldest

votes

















up vote
1
down vote



accepted










$$(k+1)^7=binom70+binom71k^1+binom72k^2+cdots+binom76k^6+binom77k^7$$



$$(k+1)^7=1+7k+binom72k^2+cdots+binom76k^6+k^7$$
$$P(k+1)=6(k+1)+(k+1)^7=6k+6+1+k^7+7(...)$$
$$P(k+1)=6(k+1)+(k+1)^7=6k+7+k^7+7(...)$$
$$P(k+1)=6(k+1)+(k+1)^7=(6k+k^7)+7+7(...)$$



$6k+k^7$ is already divisible by 7 as you assumed this, other remaining terms are also multiple of 7 thus divisible by 7



$$ forall nge 1 hspace10pt P(n) implies P(n+1)$$






share|cite|improve this answer






















  • Where did the 1 come from and how do we know the remaining terms are multiple of 7? I am kinda new :/
    – George Daravigkas
    Sep 9 at 10:32










  • can you see it now updated the answer
    – Deepesh Meena
    Sep 9 at 10:35











  • Yeah, it's pretty clear now. Thanks
    – George Daravigkas
    Sep 9 at 10:38

















up vote
3
down vote













As an alternative by FLT we have that



$$6n+n^7 equiv-n+nequiv 0 pmod 7$$






share|cite|improve this answer




















  • (+1) nice. Did you get the invite btw?
    – TheSimpliFire
    Sep 9 at 10:25











  • @TheSimpliFire Thanks! Yes I saw that but I didn't undestand what it was aimed to.
    – gimusi
    Sep 9 at 10:26










  • Are you interested in the idea of math challenges on SE?
    – TheSimpliFire
    Sep 9 at 10:27

















up vote
2
down vote













Since $binom7i$ is divisible by $7$ for $ine0,7$, we have that beginalignP(k+1)&=colorred6(k+1)+colorblue(k+1)^7\&=colorred6k+6+colorbluek^7+7(textsomething)+1\&=(6k+k^7)+7(textsomething+1)endalign which is divisible by $7$ from the induction hypothesis.






share|cite|improve this answer



























    up vote
    1
    down vote













    There are, in my opinion, two possible approaches.



    The first one is to show it is true for $n=1, ldots , 7$ and then show by induction that if it's true for $n$ then it's true for $n+7$.



    The second one is to use the Fermat's Little Theorem






    share|cite|improve this answer



























      up vote
      1
      down vote













      Write
      $$(n^7-n)+7n=frac(n-1)n(n+1)left((2n-1)^2+3right)left((2n+1)^2+3right)16+7n$$



      If $7mid n$ we are done, if $7notmid n$ there are some possibilities:



      • $n=7k+1Rightarrow 7mid n-1$

      • $n=7k+2Rightarrow 7mid (2n+1)^2+3$

      • $n=7k+3Rightarrow 7mid (2n-1)^2+3$

      • $n=7k-3Rightarrow 7mid (2n+1)^2+3$

      • $n=7k-2Rightarrow 7mid (2n-1)^3+3$

      • $n=7k-1Rightarrow 7mid n+1$

      We don't have to worry about $16=2^4$ in the denominator, since $gcd(2,7)=1$, and both:



      • $4mid (2n-1)^2+3$

      • $4mid (2n+1)^2+3$

      are true.






      share|cite|improve this answer





























        up vote
        1
        down vote













        Alt. hint:  the product of $7$ consecutive numbers is always divisible by $7$, so:



        $$
        beginalign
        7;mid; (n-3)(n-2)(n-1)n(n+1)(n+2)(n+3) &= n^7 - 14 n^5 + 49 n^3 - 36 n \
        &= n^7+6n -left(14n^5-49n^3+42nright) \
        &= n^7+6n - 7left(2n^5-7n^3+6nright)
        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%2f2910635%2fprove-that-6nn7-is-divisible-by-7-for-n0%23new-answer', 'question_page');

          );

          Post as a guest






























          6 Answers
          6






          active

          oldest

          votes








          6 Answers
          6






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          $$(k+1)^7=binom70+binom71k^1+binom72k^2+cdots+binom76k^6+binom77k^7$$



          $$(k+1)^7=1+7k+binom72k^2+cdots+binom76k^6+k^7$$
          $$P(k+1)=6(k+1)+(k+1)^7=6k+6+1+k^7+7(...)$$
          $$P(k+1)=6(k+1)+(k+1)^7=6k+7+k^7+7(...)$$
          $$P(k+1)=6(k+1)+(k+1)^7=(6k+k^7)+7+7(...)$$



          $6k+k^7$ is already divisible by 7 as you assumed this, other remaining terms are also multiple of 7 thus divisible by 7



          $$ forall nge 1 hspace10pt P(n) implies P(n+1)$$






          share|cite|improve this answer






















          • Where did the 1 come from and how do we know the remaining terms are multiple of 7? I am kinda new :/
            – George Daravigkas
            Sep 9 at 10:32










          • can you see it now updated the answer
            – Deepesh Meena
            Sep 9 at 10:35











          • Yeah, it's pretty clear now. Thanks
            – George Daravigkas
            Sep 9 at 10:38














          up vote
          1
          down vote



          accepted










          $$(k+1)^7=binom70+binom71k^1+binom72k^2+cdots+binom76k^6+binom77k^7$$



          $$(k+1)^7=1+7k+binom72k^2+cdots+binom76k^6+k^7$$
          $$P(k+1)=6(k+1)+(k+1)^7=6k+6+1+k^7+7(...)$$
          $$P(k+1)=6(k+1)+(k+1)^7=6k+7+k^7+7(...)$$
          $$P(k+1)=6(k+1)+(k+1)^7=(6k+k^7)+7+7(...)$$



          $6k+k^7$ is already divisible by 7 as you assumed this, other remaining terms are also multiple of 7 thus divisible by 7



          $$ forall nge 1 hspace10pt P(n) implies P(n+1)$$






          share|cite|improve this answer






















          • Where did the 1 come from and how do we know the remaining terms are multiple of 7? I am kinda new :/
            – George Daravigkas
            Sep 9 at 10:32










          • can you see it now updated the answer
            – Deepesh Meena
            Sep 9 at 10:35











          • Yeah, it's pretty clear now. Thanks
            – George Daravigkas
            Sep 9 at 10:38












          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          $$(k+1)^7=binom70+binom71k^1+binom72k^2+cdots+binom76k^6+binom77k^7$$



          $$(k+1)^7=1+7k+binom72k^2+cdots+binom76k^6+k^7$$
          $$P(k+1)=6(k+1)+(k+1)^7=6k+6+1+k^7+7(...)$$
          $$P(k+1)=6(k+1)+(k+1)^7=6k+7+k^7+7(...)$$
          $$P(k+1)=6(k+1)+(k+1)^7=(6k+k^7)+7+7(...)$$



          $6k+k^7$ is already divisible by 7 as you assumed this, other remaining terms are also multiple of 7 thus divisible by 7



          $$ forall nge 1 hspace10pt P(n) implies P(n+1)$$






          share|cite|improve this answer














          $$(k+1)^7=binom70+binom71k^1+binom72k^2+cdots+binom76k^6+binom77k^7$$



          $$(k+1)^7=1+7k+binom72k^2+cdots+binom76k^6+k^7$$
          $$P(k+1)=6(k+1)+(k+1)^7=6k+6+1+k^7+7(...)$$
          $$P(k+1)=6(k+1)+(k+1)^7=6k+7+k^7+7(...)$$
          $$P(k+1)=6(k+1)+(k+1)^7=(6k+k^7)+7+7(...)$$



          $6k+k^7$ is already divisible by 7 as you assumed this, other remaining terms are also multiple of 7 thus divisible by 7



          $$ forall nge 1 hspace10pt P(n) implies P(n+1)$$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Sep 9 at 10:35

























          answered Sep 9 at 10:23









          Deepesh Meena

          4,20621025




          4,20621025











          • Where did the 1 come from and how do we know the remaining terms are multiple of 7? I am kinda new :/
            – George Daravigkas
            Sep 9 at 10:32










          • can you see it now updated the answer
            – Deepesh Meena
            Sep 9 at 10:35











          • Yeah, it's pretty clear now. Thanks
            – George Daravigkas
            Sep 9 at 10:38
















          • Where did the 1 come from and how do we know the remaining terms are multiple of 7? I am kinda new :/
            – George Daravigkas
            Sep 9 at 10:32










          • can you see it now updated the answer
            – Deepesh Meena
            Sep 9 at 10:35











          • Yeah, it's pretty clear now. Thanks
            – George Daravigkas
            Sep 9 at 10:38















          Where did the 1 come from and how do we know the remaining terms are multiple of 7? I am kinda new :/
          – George Daravigkas
          Sep 9 at 10:32




          Where did the 1 come from and how do we know the remaining terms are multiple of 7? I am kinda new :/
          – George Daravigkas
          Sep 9 at 10:32












          can you see it now updated the answer
          – Deepesh Meena
          Sep 9 at 10:35





          can you see it now updated the answer
          – Deepesh Meena
          Sep 9 at 10:35













          Yeah, it's pretty clear now. Thanks
          – George Daravigkas
          Sep 9 at 10:38




          Yeah, it's pretty clear now. Thanks
          – George Daravigkas
          Sep 9 at 10:38










          up vote
          3
          down vote













          As an alternative by FLT we have that



          $$6n+n^7 equiv-n+nequiv 0 pmod 7$$






          share|cite|improve this answer




















          • (+1) nice. Did you get the invite btw?
            – TheSimpliFire
            Sep 9 at 10:25











          • @TheSimpliFire Thanks! Yes I saw that but I didn't undestand what it was aimed to.
            – gimusi
            Sep 9 at 10:26










          • Are you interested in the idea of math challenges on SE?
            – TheSimpliFire
            Sep 9 at 10:27














          up vote
          3
          down vote













          As an alternative by FLT we have that



          $$6n+n^7 equiv-n+nequiv 0 pmod 7$$






          share|cite|improve this answer




















          • (+1) nice. Did you get the invite btw?
            – TheSimpliFire
            Sep 9 at 10:25











          • @TheSimpliFire Thanks! Yes I saw that but I didn't undestand what it was aimed to.
            – gimusi
            Sep 9 at 10:26










          • Are you interested in the idea of math challenges on SE?
            – TheSimpliFire
            Sep 9 at 10:27












          up vote
          3
          down vote










          up vote
          3
          down vote









          As an alternative by FLT we have that



          $$6n+n^7 equiv-n+nequiv 0 pmod 7$$






          share|cite|improve this answer












          As an alternative by FLT we have that



          $$6n+n^7 equiv-n+nequiv 0 pmod 7$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Sep 9 at 10:23









          gimusi

          74.3k73889




          74.3k73889











          • (+1) nice. Did you get the invite btw?
            – TheSimpliFire
            Sep 9 at 10:25











          • @TheSimpliFire Thanks! Yes I saw that but I didn't undestand what it was aimed to.
            – gimusi
            Sep 9 at 10:26










          • Are you interested in the idea of math challenges on SE?
            – TheSimpliFire
            Sep 9 at 10:27
















          • (+1) nice. Did you get the invite btw?
            – TheSimpliFire
            Sep 9 at 10:25











          • @TheSimpliFire Thanks! Yes I saw that but I didn't undestand what it was aimed to.
            – gimusi
            Sep 9 at 10:26










          • Are you interested in the idea of math challenges on SE?
            – TheSimpliFire
            Sep 9 at 10:27















          (+1) nice. Did you get the invite btw?
          – TheSimpliFire
          Sep 9 at 10:25





          (+1) nice. Did you get the invite btw?
          – TheSimpliFire
          Sep 9 at 10:25













          @TheSimpliFire Thanks! Yes I saw that but I didn't undestand what it was aimed to.
          – gimusi
          Sep 9 at 10:26




          @TheSimpliFire Thanks! Yes I saw that but I didn't undestand what it was aimed to.
          – gimusi
          Sep 9 at 10:26












          Are you interested in the idea of math challenges on SE?
          – TheSimpliFire
          Sep 9 at 10:27




          Are you interested in the idea of math challenges on SE?
          – TheSimpliFire
          Sep 9 at 10:27










          up vote
          2
          down vote













          Since $binom7i$ is divisible by $7$ for $ine0,7$, we have that beginalignP(k+1)&=colorred6(k+1)+colorblue(k+1)^7\&=colorred6k+6+colorbluek^7+7(textsomething)+1\&=(6k+k^7)+7(textsomething+1)endalign which is divisible by $7$ from the induction hypothesis.






          share|cite|improve this answer
























            up vote
            2
            down vote













            Since $binom7i$ is divisible by $7$ for $ine0,7$, we have that beginalignP(k+1)&=colorred6(k+1)+colorblue(k+1)^7\&=colorred6k+6+colorbluek^7+7(textsomething)+1\&=(6k+k^7)+7(textsomething+1)endalign which is divisible by $7$ from the induction hypothesis.






            share|cite|improve this answer






















              up vote
              2
              down vote










              up vote
              2
              down vote









              Since $binom7i$ is divisible by $7$ for $ine0,7$, we have that beginalignP(k+1)&=colorred6(k+1)+colorblue(k+1)^7\&=colorred6k+6+colorbluek^7+7(textsomething)+1\&=(6k+k^7)+7(textsomething+1)endalign which is divisible by $7$ from the induction hypothesis.






              share|cite|improve this answer












              Since $binom7i$ is divisible by $7$ for $ine0,7$, we have that beginalignP(k+1)&=colorred6(k+1)+colorblue(k+1)^7\&=colorred6k+6+colorbluek^7+7(textsomething)+1\&=(6k+k^7)+7(textsomething+1)endalign which is divisible by $7$ from the induction hypothesis.







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Sep 9 at 10:22









              TheSimpliFire

              11k62255




              11k62255




















                  up vote
                  1
                  down vote













                  There are, in my opinion, two possible approaches.



                  The first one is to show it is true for $n=1, ldots , 7$ and then show by induction that if it's true for $n$ then it's true for $n+7$.



                  The second one is to use the Fermat's Little Theorem






                  share|cite|improve this answer
























                    up vote
                    1
                    down vote













                    There are, in my opinion, two possible approaches.



                    The first one is to show it is true for $n=1, ldots , 7$ and then show by induction that if it's true for $n$ then it's true for $n+7$.



                    The second one is to use the Fermat's Little Theorem






                    share|cite|improve this answer






















                      up vote
                      1
                      down vote










                      up vote
                      1
                      down vote









                      There are, in my opinion, two possible approaches.



                      The first one is to show it is true for $n=1, ldots , 7$ and then show by induction that if it's true for $n$ then it's true for $n+7$.



                      The second one is to use the Fermat's Little Theorem






                      share|cite|improve this answer












                      There are, in my opinion, two possible approaches.



                      The first one is to show it is true for $n=1, ldots , 7$ and then show by induction that if it's true for $n$ then it's true for $n+7$.



                      The second one is to use the Fermat's Little Theorem







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered Sep 9 at 10:22









                      LucaMac

                      1,694116




                      1,694116




















                          up vote
                          1
                          down vote













                          Write
                          $$(n^7-n)+7n=frac(n-1)n(n+1)left((2n-1)^2+3right)left((2n+1)^2+3right)16+7n$$



                          If $7mid n$ we are done, if $7notmid n$ there are some possibilities:



                          • $n=7k+1Rightarrow 7mid n-1$

                          • $n=7k+2Rightarrow 7mid (2n+1)^2+3$

                          • $n=7k+3Rightarrow 7mid (2n-1)^2+3$

                          • $n=7k-3Rightarrow 7mid (2n+1)^2+3$

                          • $n=7k-2Rightarrow 7mid (2n-1)^3+3$

                          • $n=7k-1Rightarrow 7mid n+1$

                          We don't have to worry about $16=2^4$ in the denominator, since $gcd(2,7)=1$, and both:



                          • $4mid (2n-1)^2+3$

                          • $4mid (2n+1)^2+3$

                          are true.






                          share|cite|improve this answer


























                            up vote
                            1
                            down vote













                            Write
                            $$(n^7-n)+7n=frac(n-1)n(n+1)left((2n-1)^2+3right)left((2n+1)^2+3right)16+7n$$



                            If $7mid n$ we are done, if $7notmid n$ there are some possibilities:



                            • $n=7k+1Rightarrow 7mid n-1$

                            • $n=7k+2Rightarrow 7mid (2n+1)^2+3$

                            • $n=7k+3Rightarrow 7mid (2n-1)^2+3$

                            • $n=7k-3Rightarrow 7mid (2n+1)^2+3$

                            • $n=7k-2Rightarrow 7mid (2n-1)^3+3$

                            • $n=7k-1Rightarrow 7mid n+1$

                            We don't have to worry about $16=2^4$ in the denominator, since $gcd(2,7)=1$, and both:



                            • $4mid (2n-1)^2+3$

                            • $4mid (2n+1)^2+3$

                            are true.






                            share|cite|improve this answer
























                              up vote
                              1
                              down vote










                              up vote
                              1
                              down vote









                              Write
                              $$(n^7-n)+7n=frac(n-1)n(n+1)left((2n-1)^2+3right)left((2n+1)^2+3right)16+7n$$



                              If $7mid n$ we are done, if $7notmid n$ there are some possibilities:



                              • $n=7k+1Rightarrow 7mid n-1$

                              • $n=7k+2Rightarrow 7mid (2n+1)^2+3$

                              • $n=7k+3Rightarrow 7mid (2n-1)^2+3$

                              • $n=7k-3Rightarrow 7mid (2n+1)^2+3$

                              • $n=7k-2Rightarrow 7mid (2n-1)^3+3$

                              • $n=7k-1Rightarrow 7mid n+1$

                              We don't have to worry about $16=2^4$ in the denominator, since $gcd(2,7)=1$, and both:



                              • $4mid (2n-1)^2+3$

                              • $4mid (2n+1)^2+3$

                              are true.






                              share|cite|improve this answer














                              Write
                              $$(n^7-n)+7n=frac(n-1)n(n+1)left((2n-1)^2+3right)left((2n+1)^2+3right)16+7n$$



                              If $7mid n$ we are done, if $7notmid n$ there are some possibilities:



                              • $n=7k+1Rightarrow 7mid n-1$

                              • $n=7k+2Rightarrow 7mid (2n+1)^2+3$

                              • $n=7k+3Rightarrow 7mid (2n-1)^2+3$

                              • $n=7k-3Rightarrow 7mid (2n+1)^2+3$

                              • $n=7k-2Rightarrow 7mid (2n-1)^3+3$

                              • $n=7k-1Rightarrow 7mid n+1$

                              We don't have to worry about $16=2^4$ in the denominator, since $gcd(2,7)=1$, and both:



                              • $4mid (2n-1)^2+3$

                              • $4mid (2n+1)^2+3$

                              are true.







                              share|cite|improve this answer














                              share|cite|improve this answer



                              share|cite|improve this answer








                              edited Sep 10 at 16:10

























                              answered Sep 9 at 10:21









                              cansomeonehelpmeout

                              5,6233830




                              5,6233830




















                                  up vote
                                  1
                                  down vote













                                  Alt. hint:  the product of $7$ consecutive numbers is always divisible by $7$, so:



                                  $$
                                  beginalign
                                  7;mid; (n-3)(n-2)(n-1)n(n+1)(n+2)(n+3) &= n^7 - 14 n^5 + 49 n^3 - 36 n \
                                  &= n^7+6n -left(14n^5-49n^3+42nright) \
                                  &= n^7+6n - 7left(2n^5-7n^3+6nright)
                                  endalign
                                  $$






                                  share|cite|improve this answer
























                                    up vote
                                    1
                                    down vote













                                    Alt. hint:  the product of $7$ consecutive numbers is always divisible by $7$, so:



                                    $$
                                    beginalign
                                    7;mid; (n-3)(n-2)(n-1)n(n+1)(n+2)(n+3) &= n^7 - 14 n^5 + 49 n^3 - 36 n \
                                    &= n^7+6n -left(14n^5-49n^3+42nright) \
                                    &= n^7+6n - 7left(2n^5-7n^3+6nright)
                                    endalign
                                    $$






                                    share|cite|improve this answer






















                                      up vote
                                      1
                                      down vote










                                      up vote
                                      1
                                      down vote









                                      Alt. hint:  the product of $7$ consecutive numbers is always divisible by $7$, so:



                                      $$
                                      beginalign
                                      7;mid; (n-3)(n-2)(n-1)n(n+1)(n+2)(n+3) &= n^7 - 14 n^5 + 49 n^3 - 36 n \
                                      &= n^7+6n -left(14n^5-49n^3+42nright) \
                                      &= n^7+6n - 7left(2n^5-7n^3+6nright)
                                      endalign
                                      $$






                                      share|cite|improve this answer












                                      Alt. hint:  the product of $7$ consecutive numbers is always divisible by $7$, so:



                                      $$
                                      beginalign
                                      7;mid; (n-3)(n-2)(n-1)n(n+1)(n+2)(n+3) &= n^7 - 14 n^5 + 49 n^3 - 36 n \
                                      &= n^7+6n -left(14n^5-49n^3+42nright) \
                                      &= n^7+6n - 7left(2n^5-7n^3+6nright)
                                      endalign
                                      $$







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered Sep 10 at 16:23









                                      dxiv

                                      56.3k64798




                                      56.3k64798



























                                           

                                          draft saved


                                          draft discarded















































                                           


                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function ()
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2910635%2fprove-that-6nn7-is-divisible-by-7-for-n0%23new-answer', 'question_page');

                                          );

                                          Post as a guest













































































                                          這個網誌中的熱門文章

                                          How to combine Bézier curves to a surface?

                                          Why am i infinitely getting the same tweet with the Twitter Search API?

                                          Carbon dioxide