Confusing step in proof of divisibility by $7$.












0












$begingroup$


I am reading the proof of the divisibility rule for $7$ here (Aops page),but I can't see how $k-2n_0 equiv 2n_0 +6k $ is derived.



I've tried to derive it by this: $$2n_0 +6k equiv 2n_o +7k-k equiv 2n_0-k, $$
but how can I get from this to $2n_0+6k equiv k-2n_0$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    $$7mid 10k+n_0iff 7mid 2(10k+n_0) =20k+2n_0$$ $$iff 7mid (20k+2n_0)-7(3k)=-k+2n_0$$
    $endgroup$
    – user236182
    Jan 23 '16 at 18:27










  • $begingroup$
    thanks,but why in the comments ?You don't give me the opportunity to accept your answer and show my gratitude :).
    $endgroup$
    – Mr. Y
    Jan 23 '16 at 18:42












  • $begingroup$
    @user236182 Please type up your hints as an answer in order to close the question. Until then (or whenever someone else decides to answer in greater detail), this community wiki answer referencing you will suffice :)
    $endgroup$
    – Shaun
    Dec 22 '18 at 18:25
















0












$begingroup$


I am reading the proof of the divisibility rule for $7$ here (Aops page),but I can't see how $k-2n_0 equiv 2n_0 +6k $ is derived.



I've tried to derive it by this: $$2n_0 +6k equiv 2n_o +7k-k equiv 2n_0-k, $$
but how can I get from this to $2n_0+6k equiv k-2n_0$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    $$7mid 10k+n_0iff 7mid 2(10k+n_0) =20k+2n_0$$ $$iff 7mid (20k+2n_0)-7(3k)=-k+2n_0$$
    $endgroup$
    – user236182
    Jan 23 '16 at 18:27










  • $begingroup$
    thanks,but why in the comments ?You don't give me the opportunity to accept your answer and show my gratitude :).
    $endgroup$
    – Mr. Y
    Jan 23 '16 at 18:42












  • $begingroup$
    @user236182 Please type up your hints as an answer in order to close the question. Until then (or whenever someone else decides to answer in greater detail), this community wiki answer referencing you will suffice :)
    $endgroup$
    – Shaun
    Dec 22 '18 at 18:25














0












0








0





$begingroup$


I am reading the proof of the divisibility rule for $7$ here (Aops page),but I can't see how $k-2n_0 equiv 2n_0 +6k $ is derived.



I've tried to derive it by this: $$2n_0 +6k equiv 2n_o +7k-k equiv 2n_0-k, $$
but how can I get from this to $2n_0+6k equiv k-2n_0$?










share|cite|improve this question











$endgroup$




I am reading the proof of the divisibility rule for $7$ here (Aops page),but I can't see how $k-2n_0 equiv 2n_0 +6k $ is derived.



I've tried to derive it by this: $$2n_0 +6k equiv 2n_o +7k-k equiv 2n_0-k, $$
but how can I get from this to $2n_0+6k equiv k-2n_0$?







elementary-number-theory proof-explanation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 22 '18 at 18:57









Shaun

9,854113684




9,854113684










asked Jan 23 '16 at 18:20









Mr. YMr. Y

1,374723




1,374723












  • $begingroup$
    $$7mid 10k+n_0iff 7mid 2(10k+n_0) =20k+2n_0$$ $$iff 7mid (20k+2n_0)-7(3k)=-k+2n_0$$
    $endgroup$
    – user236182
    Jan 23 '16 at 18:27










  • $begingroup$
    thanks,but why in the comments ?You don't give me the opportunity to accept your answer and show my gratitude :).
    $endgroup$
    – Mr. Y
    Jan 23 '16 at 18:42












  • $begingroup$
    @user236182 Please type up your hints as an answer in order to close the question. Until then (or whenever someone else decides to answer in greater detail), this community wiki answer referencing you will suffice :)
    $endgroup$
    – Shaun
    Dec 22 '18 at 18:25


















  • $begingroup$
    $$7mid 10k+n_0iff 7mid 2(10k+n_0) =20k+2n_0$$ $$iff 7mid (20k+2n_0)-7(3k)=-k+2n_0$$
    $endgroup$
    – user236182
    Jan 23 '16 at 18:27










  • $begingroup$
    thanks,but why in the comments ?You don't give me the opportunity to accept your answer and show my gratitude :).
    $endgroup$
    – Mr. Y
    Jan 23 '16 at 18:42












  • $begingroup$
    @user236182 Please type up your hints as an answer in order to close the question. Until then (or whenever someone else decides to answer in greater detail), this community wiki answer referencing you will suffice :)
    $endgroup$
    – Shaun
    Dec 22 '18 at 18:25
















$begingroup$
$$7mid 10k+n_0iff 7mid 2(10k+n_0) =20k+2n_0$$ $$iff 7mid (20k+2n_0)-7(3k)=-k+2n_0$$
$endgroup$
– user236182
Jan 23 '16 at 18:27




$begingroup$
$$7mid 10k+n_0iff 7mid 2(10k+n_0) =20k+2n_0$$ $$iff 7mid (20k+2n_0)-7(3k)=-k+2n_0$$
$endgroup$
– user236182
Jan 23 '16 at 18:27












$begingroup$
thanks,but why in the comments ?You don't give me the opportunity to accept your answer and show my gratitude :).
$endgroup$
– Mr. Y
Jan 23 '16 at 18:42






$begingroup$
thanks,but why in the comments ?You don't give me the opportunity to accept your answer and show my gratitude :).
$endgroup$
– Mr. Y
Jan 23 '16 at 18:42














$begingroup$
@user236182 Please type up your hints as an answer in order to close the question. Until then (or whenever someone else decides to answer in greater detail), this community wiki answer referencing you will suffice :)
$endgroup$
– Shaun
Dec 22 '18 at 18:25




$begingroup$
@user236182 Please type up your hints as an answer in order to close the question. Until then (or whenever someone else decides to answer in greater detail), this community wiki answer referencing you will suffice :)
$endgroup$
– Shaun
Dec 22 '18 at 18:25










1 Answer
1






active

oldest

votes


















0












$begingroup$

This community wiki answer is to point out that this comment, posted by @user236182 (who is invited to post an answer), answers the question.



Summarising it:




$$begin{align}
7mid 10k+n_0 &iff 7mid 2(10k+n_0) =20k+2n_0 \
&iff 7mid (20k+2n_0)-7(3k)=-k+2n_0.
end{align}$$







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%2f1623818%2fconfusing-step-in-proof-of-divisibility-by-7%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    This community wiki answer is to point out that this comment, posted by @user236182 (who is invited to post an answer), answers the question.



    Summarising it:




    $$begin{align}
    7mid 10k+n_0 &iff 7mid 2(10k+n_0) =20k+2n_0 \
    &iff 7mid (20k+2n_0)-7(3k)=-k+2n_0.
    end{align}$$







    share|cite|improve this answer











    $endgroup$


















      0












      $begingroup$

      This community wiki answer is to point out that this comment, posted by @user236182 (who is invited to post an answer), answers the question.



      Summarising it:




      $$begin{align}
      7mid 10k+n_0 &iff 7mid 2(10k+n_0) =20k+2n_0 \
      &iff 7mid (20k+2n_0)-7(3k)=-k+2n_0.
      end{align}$$







      share|cite|improve this answer











      $endgroup$
















        0












        0








        0





        $begingroup$

        This community wiki answer is to point out that this comment, posted by @user236182 (who is invited to post an answer), answers the question.



        Summarising it:




        $$begin{align}
        7mid 10k+n_0 &iff 7mid 2(10k+n_0) =20k+2n_0 \
        &iff 7mid (20k+2n_0)-7(3k)=-k+2n_0.
        end{align}$$







        share|cite|improve this answer











        $endgroup$



        This community wiki answer is to point out that this comment, posted by @user236182 (who is invited to post an answer), answers the question.



        Summarising it:




        $$begin{align}
        7mid 10k+n_0 &iff 7mid 2(10k+n_0) =20k+2n_0 \
        &iff 7mid (20k+2n_0)-7(3k)=-k+2n_0.
        end{align}$$








        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        answered Dec 22 '18 at 18:24


























        community wiki





        Shaun































            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%2f1623818%2fconfusing-step-in-proof-of-divisibility-by-7%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

            Le Mesnil-Réaume

            Ida-Boy-Ed-Garten

            web3.py web3.isConnected() returns false always