Prove that $3^16 -33$ and $3^15 +5$ is divisible by 4 by means of binomial theorem

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











up vote
4
down vote

favorite












This is a question that I found in a textbook:



Given that $p=q+1$, $p$ and $q$ are integers, then show that
$p^2n - 2nq-1$ is divisible by $q^2$ given that $n$ is a positive integer.
By taking a suitable value of $n$, $p$ and $q$, show that $3^16-33$ and $3^15+5$ are divisible by 4.



My proof:
$$p^2n-2nq-1=(1+q)^2n-2nq-1$$



$$=[1+2nq+frac(2n)(2n-1)2! q^2+frac2n(2n-1)(2n-2)3!q^3+...]-2nq-1$$



$$=n(2n-1)q^2+frac23 n(2n-1)(n-1)q^3+...$$



$$=q^2[n(2n-1)+frac23 n(2n-1)(n-1)q+...]$$



Hence the expansion has a common factor $q^2$



Taking $n=8$ and $p=3$, and given that $p=q+1, q=2$, by substitution,
$$3^16 -33=4[120+1120+...]$$



By factoring a 3:
$$3(3^15-11)=4[120+1120+...]$$



Dividing both sides by 3 and adding 15 to both sides:
$$3^15 +5=4[frac13(120+1120+...)+4]$$



Then it is proven that it is also divisible by 4.



The only problem I have with the proof is that how do I know that each term in the brackets $(120+1120+...)$ are divisible by 3?










share|cite|improve this question



















  • 1




    This all seems like the long way round. $3=4-1implies 3^16=(4-1)^16$ and, expanding the latter, we see that every term is divisible by $4$ except $1^16=1$ and $1-33$ is also divisible by $4$.
    – lulu
    Sep 2 at 11:13










  • I know, but it's a textbook question and I think that my proof isn't rigorous enough, especially at the last part, where I tried to prove that $3^15 +5$ is divisible by 4.
    – Loo Soo Yong
    Sep 2 at 11:16











  • If you expand $(q+1)^2n$ you get $1+2nq$ plus terms divisible by $q^2$.
    – lulu
    Sep 2 at 11:24










  • Just use what you proved in the first part.
    – TonyK
    Sep 2 at 11:27














up vote
4
down vote

favorite












This is a question that I found in a textbook:



Given that $p=q+1$, $p$ and $q$ are integers, then show that
$p^2n - 2nq-1$ is divisible by $q^2$ given that $n$ is a positive integer.
By taking a suitable value of $n$, $p$ and $q$, show that $3^16-33$ and $3^15+5$ are divisible by 4.



My proof:
$$p^2n-2nq-1=(1+q)^2n-2nq-1$$



$$=[1+2nq+frac(2n)(2n-1)2! q^2+frac2n(2n-1)(2n-2)3!q^3+...]-2nq-1$$



$$=n(2n-1)q^2+frac23 n(2n-1)(n-1)q^3+...$$



$$=q^2[n(2n-1)+frac23 n(2n-1)(n-1)q+...]$$



Hence the expansion has a common factor $q^2$



Taking $n=8$ and $p=3$, and given that $p=q+1, q=2$, by substitution,
$$3^16 -33=4[120+1120+...]$$



By factoring a 3:
$$3(3^15-11)=4[120+1120+...]$$



Dividing both sides by 3 and adding 15 to both sides:
$$3^15 +5=4[frac13(120+1120+...)+4]$$



Then it is proven that it is also divisible by 4.



The only problem I have with the proof is that how do I know that each term in the brackets $(120+1120+...)$ are divisible by 3?










share|cite|improve this question



















  • 1




    This all seems like the long way round. $3=4-1implies 3^16=(4-1)^16$ and, expanding the latter, we see that every term is divisible by $4$ except $1^16=1$ and $1-33$ is also divisible by $4$.
    – lulu
    Sep 2 at 11:13










  • I know, but it's a textbook question and I think that my proof isn't rigorous enough, especially at the last part, where I tried to prove that $3^15 +5$ is divisible by 4.
    – Loo Soo Yong
    Sep 2 at 11:16











  • If you expand $(q+1)^2n$ you get $1+2nq$ plus terms divisible by $q^2$.
    – lulu
    Sep 2 at 11:24










  • Just use what you proved in the first part.
    – TonyK
    Sep 2 at 11:27












up vote
4
down vote

favorite









up vote
4
down vote

favorite











This is a question that I found in a textbook:



Given that $p=q+1$, $p$ and $q$ are integers, then show that
$p^2n - 2nq-1$ is divisible by $q^2$ given that $n$ is a positive integer.
By taking a suitable value of $n$, $p$ and $q$, show that $3^16-33$ and $3^15+5$ are divisible by 4.



My proof:
$$p^2n-2nq-1=(1+q)^2n-2nq-1$$



$$=[1+2nq+frac(2n)(2n-1)2! q^2+frac2n(2n-1)(2n-2)3!q^3+...]-2nq-1$$



$$=n(2n-1)q^2+frac23 n(2n-1)(n-1)q^3+...$$



$$=q^2[n(2n-1)+frac23 n(2n-1)(n-1)q+...]$$



Hence the expansion has a common factor $q^2$



Taking $n=8$ and $p=3$, and given that $p=q+1, q=2$, by substitution,
$$3^16 -33=4[120+1120+...]$$



By factoring a 3:
$$3(3^15-11)=4[120+1120+...]$$



Dividing both sides by 3 and adding 15 to both sides:
$$3^15 +5=4[frac13(120+1120+...)+4]$$



Then it is proven that it is also divisible by 4.



The only problem I have with the proof is that how do I know that each term in the brackets $(120+1120+...)$ are divisible by 3?










share|cite|improve this question















This is a question that I found in a textbook:



Given that $p=q+1$, $p$ and $q$ are integers, then show that
$p^2n - 2nq-1$ is divisible by $q^2$ given that $n$ is a positive integer.
By taking a suitable value of $n$, $p$ and $q$, show that $3^16-33$ and $3^15+5$ are divisible by 4.



My proof:
$$p^2n-2nq-1=(1+q)^2n-2nq-1$$



$$=[1+2nq+frac(2n)(2n-1)2! q^2+frac2n(2n-1)(2n-2)3!q^3+...]-2nq-1$$



$$=n(2n-1)q^2+frac23 n(2n-1)(n-1)q^3+...$$



$$=q^2[n(2n-1)+frac23 n(2n-1)(n-1)q+...]$$



Hence the expansion has a common factor $q^2$



Taking $n=8$ and $p=3$, and given that $p=q+1, q=2$, by substitution,
$$3^16 -33=4[120+1120+...]$$



By factoring a 3:
$$3(3^15-11)=4[120+1120+...]$$



Dividing both sides by 3 and adding 15 to both sides:
$$3^15 +5=4[frac13(120+1120+...)+4]$$



Then it is proven that it is also divisible by 4.



The only problem I have with the proof is that how do I know that each term in the brackets $(120+1120+...)$ are divisible by 3?







proof-verification binomial-theorem






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Sep 2 at 11:20

























asked Sep 2 at 11:10









Loo Soo Yong

1355




1355







  • 1




    This all seems like the long way round. $3=4-1implies 3^16=(4-1)^16$ and, expanding the latter, we see that every term is divisible by $4$ except $1^16=1$ and $1-33$ is also divisible by $4$.
    – lulu
    Sep 2 at 11:13










  • I know, but it's a textbook question and I think that my proof isn't rigorous enough, especially at the last part, where I tried to prove that $3^15 +5$ is divisible by 4.
    – Loo Soo Yong
    Sep 2 at 11:16











  • If you expand $(q+1)^2n$ you get $1+2nq$ plus terms divisible by $q^2$.
    – lulu
    Sep 2 at 11:24










  • Just use what you proved in the first part.
    – TonyK
    Sep 2 at 11:27












  • 1




    This all seems like the long way round. $3=4-1implies 3^16=(4-1)^16$ and, expanding the latter, we see that every term is divisible by $4$ except $1^16=1$ and $1-33$ is also divisible by $4$.
    – lulu
    Sep 2 at 11:13










  • I know, but it's a textbook question and I think that my proof isn't rigorous enough, especially at the last part, where I tried to prove that $3^15 +5$ is divisible by 4.
    – Loo Soo Yong
    Sep 2 at 11:16











  • If you expand $(q+1)^2n$ you get $1+2nq$ plus terms divisible by $q^2$.
    – lulu
    Sep 2 at 11:24










  • Just use what you proved in the first part.
    – TonyK
    Sep 2 at 11:27







1




1




This all seems like the long way round. $3=4-1implies 3^16=(4-1)^16$ and, expanding the latter, we see that every term is divisible by $4$ except $1^16=1$ and $1-33$ is also divisible by $4$.
– lulu
Sep 2 at 11:13




This all seems like the long way round. $3=4-1implies 3^16=(4-1)^16$ and, expanding the latter, we see that every term is divisible by $4$ except $1^16=1$ and $1-33$ is also divisible by $4$.
– lulu
Sep 2 at 11:13












I know, but it's a textbook question and I think that my proof isn't rigorous enough, especially at the last part, where I tried to prove that $3^15 +5$ is divisible by 4.
– Loo Soo Yong
Sep 2 at 11:16





I know, but it's a textbook question and I think that my proof isn't rigorous enough, especially at the last part, where I tried to prove that $3^15 +5$ is divisible by 4.
– Loo Soo Yong
Sep 2 at 11:16













If you expand $(q+1)^2n$ you get $1+2nq$ plus terms divisible by $q^2$.
– lulu
Sep 2 at 11:24




If you expand $(q+1)^2n$ you get $1+2nq$ plus terms divisible by $q^2$.
– lulu
Sep 2 at 11:24












Just use what you proved in the first part.
– TonyK
Sep 2 at 11:27




Just use what you proved in the first part.
– TonyK
Sep 2 at 11:27










3 Answers
3






active

oldest

votes

















up vote
2
down vote



accepted










It's better if you use
$$
(1+q)^2n=1+2nq+sum_k=2^2nbinom2nkq^k
$$
so
$$
p^2n-2nq-1=q^2sum_k=2^2nbinom2nkq^k-2
$$
is divisible by $q^2$.



With $q=2$ and $n=8$ you have $p=3$ and $p^2n-2nq-1=3^16-33$.



For the second case, consider
$$
3^15+5=3(3^14-29)+3cdot29+5
$$
and set $q=2$, $n=7$, noting that $3cdot 29+5=92$, which is divisible by $4$.






share|cite|improve this answer



























    up vote
    1
    down vote













    Use the Euclid lemma in last implication:
    $$begineqnarray
    3(3^15-11)=4[120+1120+...]&implies &3mid 4[120+1120+...] \
    &implies & 3mid 120+1120+...
    endeqnarray$$






    share|cite|improve this answer





























      up vote
      0
      down vote













      By the Euclid's lemma: $3(3^15-11)=4cdot [120+1120+...]$ implies that $3$ must divide either $4$ or the sum. It does not divide $4$, hence the conclusion.






      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%2f2902603%2fprove-that-316-33-and-315-5-is-divisible-by-4-by-means-of-binomial-t%23new-answer', 'question_page');

        );

        Post as a guest






























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        2
        down vote



        accepted










        It's better if you use
        $$
        (1+q)^2n=1+2nq+sum_k=2^2nbinom2nkq^k
        $$
        so
        $$
        p^2n-2nq-1=q^2sum_k=2^2nbinom2nkq^k-2
        $$
        is divisible by $q^2$.



        With $q=2$ and $n=8$ you have $p=3$ and $p^2n-2nq-1=3^16-33$.



        For the second case, consider
        $$
        3^15+5=3(3^14-29)+3cdot29+5
        $$
        and set $q=2$, $n=7$, noting that $3cdot 29+5=92$, which is divisible by $4$.






        share|cite|improve this answer
























          up vote
          2
          down vote



          accepted










          It's better if you use
          $$
          (1+q)^2n=1+2nq+sum_k=2^2nbinom2nkq^k
          $$
          so
          $$
          p^2n-2nq-1=q^2sum_k=2^2nbinom2nkq^k-2
          $$
          is divisible by $q^2$.



          With $q=2$ and $n=8$ you have $p=3$ and $p^2n-2nq-1=3^16-33$.



          For the second case, consider
          $$
          3^15+5=3(3^14-29)+3cdot29+5
          $$
          and set $q=2$, $n=7$, noting that $3cdot 29+5=92$, which is divisible by $4$.






          share|cite|improve this answer






















            up vote
            2
            down vote



            accepted







            up vote
            2
            down vote



            accepted






            It's better if you use
            $$
            (1+q)^2n=1+2nq+sum_k=2^2nbinom2nkq^k
            $$
            so
            $$
            p^2n-2nq-1=q^2sum_k=2^2nbinom2nkq^k-2
            $$
            is divisible by $q^2$.



            With $q=2$ and $n=8$ you have $p=3$ and $p^2n-2nq-1=3^16-33$.



            For the second case, consider
            $$
            3^15+5=3(3^14-29)+3cdot29+5
            $$
            and set $q=2$, $n=7$, noting that $3cdot 29+5=92$, which is divisible by $4$.






            share|cite|improve this answer












            It's better if you use
            $$
            (1+q)^2n=1+2nq+sum_k=2^2nbinom2nkq^k
            $$
            so
            $$
            p^2n-2nq-1=q^2sum_k=2^2nbinom2nkq^k-2
            $$
            is divisible by $q^2$.



            With $q=2$ and $n=8$ you have $p=3$ and $p^2n-2nq-1=3^16-33$.



            For the second case, consider
            $$
            3^15+5=3(3^14-29)+3cdot29+5
            $$
            and set $q=2$, $n=7$, noting that $3cdot 29+5=92$, which is divisible by $4$.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Sep 2 at 12:55









            egreg

            167k1180189




            167k1180189




















                up vote
                1
                down vote













                Use the Euclid lemma in last implication:
                $$begineqnarray
                3(3^15-11)=4[120+1120+...]&implies &3mid 4[120+1120+...] \
                &implies & 3mid 120+1120+...
                endeqnarray$$






                share|cite|improve this answer


























                  up vote
                  1
                  down vote













                  Use the Euclid lemma in last implication:
                  $$begineqnarray
                  3(3^15-11)=4[120+1120+...]&implies &3mid 4[120+1120+...] \
                  &implies & 3mid 120+1120+...
                  endeqnarray$$






                  share|cite|improve this answer
























                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    Use the Euclid lemma in last implication:
                    $$begineqnarray
                    3(3^15-11)=4[120+1120+...]&implies &3mid 4[120+1120+...] \
                    &implies & 3mid 120+1120+...
                    endeqnarray$$






                    share|cite|improve this answer














                    Use the Euclid lemma in last implication:
                    $$begineqnarray
                    3(3^15-11)=4[120+1120+...]&implies &3mid 4[120+1120+...] \
                    &implies & 3mid 120+1120+...
                    endeqnarray$$







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Sep 2 at 12:32

























                    answered Sep 2 at 11:49









                    greedoid

                    28.1k93776




                    28.1k93776




















                        up vote
                        0
                        down vote













                        By the Euclid's lemma: $3(3^15-11)=4cdot [120+1120+...]$ implies that $3$ must divide either $4$ or the sum. It does not divide $4$, hence the conclusion.






                        share|cite|improve this answer
























                          up vote
                          0
                          down vote













                          By the Euclid's lemma: $3(3^15-11)=4cdot [120+1120+...]$ implies that $3$ must divide either $4$ or the sum. It does not divide $4$, hence the conclusion.






                          share|cite|improve this answer






















                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            By the Euclid's lemma: $3(3^15-11)=4cdot [120+1120+...]$ implies that $3$ must divide either $4$ or the sum. It does not divide $4$, hence the conclusion.






                            share|cite|improve this answer












                            By the Euclid's lemma: $3(3^15-11)=4cdot [120+1120+...]$ implies that $3$ must divide either $4$ or the sum. It does not divide $4$, hence the conclusion.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Sep 2 at 12:24









                            farruhota

                            15.3k2734




                            15.3k2734



























                                 

                                draft saved


                                draft discarded















































                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2902603%2fprove-that-316-33-and-315-5-is-divisible-by-4-by-means-of-binomial-t%23new-answer', 'question_page');

                                );

                                Post as a guest













































































                                這個網誌中的熱門文章

                                How to combine Bézier curves to a surface?

                                Carbon dioxide

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