A different way to show that $a^k-1 mid a^n-1$ if $kmid n$?












3












$begingroup$


A student that I'm tutoring showed me the following problem:




Let $agt 1,$ and $k,ngt 0.$ Prove that $a^k-1mid a^n-1$ if and only if $kmid n$.



Solution: Since $k$ divides $n$, we have $n=ks$ for some integer $s$. $a^n-1=a^{ks}-1=(a^k)^s-1=(a^k-1)((a^k)^{s-1}+(a^k)^{s-2}+dots+(a^k)^2+a^k+1)$. Thus, $a^k-1$ divides $a^n-1$.



Now suppose that $a^k-1$ divides $a^n-1$. Let $n=ks+r$ where $r (0le rle k-1)$ is a remainder when we divide $n$ by $k$. $a^n-1=a^{ks}a^r-1=((a^k)^s-1)a^r+(a^r-1)$. By the argument above, $a^k-1$ divides $a^{ks}-1.$ Thus, $a^k-1$ must divide $a^r-1$. Since $rlt k,$ we have $r=0.$




He wanted to see another way to prove the converse and I got stumped! Can anyone think of an easy proof of why $a^k-1 mid a^n-1$ if $kmid n$?










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    What other way did he have in mind? Both directions seem pretty straightforward to me.
    $endgroup$
    – AlexR
    Apr 22 '15 at 19:47


















3












$begingroup$


A student that I'm tutoring showed me the following problem:




Let $agt 1,$ and $k,ngt 0.$ Prove that $a^k-1mid a^n-1$ if and only if $kmid n$.



Solution: Since $k$ divides $n$, we have $n=ks$ for some integer $s$. $a^n-1=a^{ks}-1=(a^k)^s-1=(a^k-1)((a^k)^{s-1}+(a^k)^{s-2}+dots+(a^k)^2+a^k+1)$. Thus, $a^k-1$ divides $a^n-1$.



Now suppose that $a^k-1$ divides $a^n-1$. Let $n=ks+r$ where $r (0le rle k-1)$ is a remainder when we divide $n$ by $k$. $a^n-1=a^{ks}a^r-1=((a^k)^s-1)a^r+(a^r-1)$. By the argument above, $a^k-1$ divides $a^{ks}-1.$ Thus, $a^k-1$ must divide $a^r-1$. Since $rlt k,$ we have $r=0.$




He wanted to see another way to prove the converse and I got stumped! Can anyone think of an easy proof of why $a^k-1 mid a^n-1$ if $kmid n$?










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    What other way did he have in mind? Both directions seem pretty straightforward to me.
    $endgroup$
    – AlexR
    Apr 22 '15 at 19:47
















3












3








3


2



$begingroup$


A student that I'm tutoring showed me the following problem:




Let $agt 1,$ and $k,ngt 0.$ Prove that $a^k-1mid a^n-1$ if and only if $kmid n$.



Solution: Since $k$ divides $n$, we have $n=ks$ for some integer $s$. $a^n-1=a^{ks}-1=(a^k)^s-1=(a^k-1)((a^k)^{s-1}+(a^k)^{s-2}+dots+(a^k)^2+a^k+1)$. Thus, $a^k-1$ divides $a^n-1$.



Now suppose that $a^k-1$ divides $a^n-1$. Let $n=ks+r$ where $r (0le rle k-1)$ is a remainder when we divide $n$ by $k$. $a^n-1=a^{ks}a^r-1=((a^k)^s-1)a^r+(a^r-1)$. By the argument above, $a^k-1$ divides $a^{ks}-1.$ Thus, $a^k-1$ must divide $a^r-1$. Since $rlt k,$ we have $r=0.$




He wanted to see another way to prove the converse and I got stumped! Can anyone think of an easy proof of why $a^k-1 mid a^n-1$ if $kmid n$?










share|cite|improve this question











$endgroup$




A student that I'm tutoring showed me the following problem:




Let $agt 1,$ and $k,ngt 0.$ Prove that $a^k-1mid a^n-1$ if and only if $kmid n$.



Solution: Since $k$ divides $n$, we have $n=ks$ for some integer $s$. $a^n-1=a^{ks}-1=(a^k)^s-1=(a^k-1)((a^k)^{s-1}+(a^k)^{s-2}+dots+(a^k)^2+a^k+1)$. Thus, $a^k-1$ divides $a^n-1$.



Now suppose that $a^k-1$ divides $a^n-1$. Let $n=ks+r$ where $r (0le rle k-1)$ is a remainder when we divide $n$ by $k$. $a^n-1=a^{ks}a^r-1=((a^k)^s-1)a^r+(a^r-1)$. By the argument above, $a^k-1$ divides $a^{ks}-1.$ Thus, $a^k-1$ must divide $a^r-1$. Since $rlt k,$ we have $r=0.$




He wanted to see another way to prove the converse and I got stumped! Can anyone think of an easy proof of why $a^k-1 mid a^n-1$ if $kmid n$?







number-theory elementary-number-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 23 at 11:18









user477343

3,60831243




3,60831243










asked Apr 22 '15 at 19:43









SarahSarah

824821




824821








  • 2




    $begingroup$
    What other way did he have in mind? Both directions seem pretty straightforward to me.
    $endgroup$
    – AlexR
    Apr 22 '15 at 19:47
















  • 2




    $begingroup$
    What other way did he have in mind? Both directions seem pretty straightforward to me.
    $endgroup$
    – AlexR
    Apr 22 '15 at 19:47










2




2




$begingroup$
What other way did he have in mind? Both directions seem pretty straightforward to me.
$endgroup$
– AlexR
Apr 22 '15 at 19:47






$begingroup$
What other way did he have in mind? Both directions seem pretty straightforward to me.
$endgroup$
– AlexR
Apr 22 '15 at 19:47












1 Answer
1






active

oldest

votes


















4












$begingroup$

A modular way: $ {rm mod} a^{large k}!-!1!:, color{#c00}{a^{large k}equiv 1},Rightarrow, a^{large r+kq}equiv a^{large r}(color{#c00}{a^{large k}})^{large q}equiv a^{large r}color{#c00}1^{large q}equiv a^{large r},$



This uses standard Congruence Rules.



In the same way $, bequiv 1,Rightarrow, f(b)equiv f(1),$ for any polynomial $,f(x),$ with integer coefficients (above is $,f(x) = x^q, b = a^k).$ So the result, is a special case of the Factor Theorem $,b!-!1mid f(b)!-!f(1),,$ which is a special case of the linked Polynomial Congruence Rule. The advantage of the modular method is that one doesn't need to compute any quotients (only remainders, or congruent numbers).



Remark $ $ One can prove further that $, (a^k!-!1,a^n!-!1) = a^{(n,k)}!-!1,$ where $,(x,y):=gcd(x,y).,$ This is a special case of a strong divisibility sequence.






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%2f1247197%2fa-different-way-to-show-that-ak-1-mid-an-1-if-k-mid-n%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









    4












    $begingroup$

    A modular way: $ {rm mod} a^{large k}!-!1!:, color{#c00}{a^{large k}equiv 1},Rightarrow, a^{large r+kq}equiv a^{large r}(color{#c00}{a^{large k}})^{large q}equiv a^{large r}color{#c00}1^{large q}equiv a^{large r},$



    This uses standard Congruence Rules.



    In the same way $, bequiv 1,Rightarrow, f(b)equiv f(1),$ for any polynomial $,f(x),$ with integer coefficients (above is $,f(x) = x^q, b = a^k).$ So the result, is a special case of the Factor Theorem $,b!-!1mid f(b)!-!f(1),,$ which is a special case of the linked Polynomial Congruence Rule. The advantage of the modular method is that one doesn't need to compute any quotients (only remainders, or congruent numbers).



    Remark $ $ One can prove further that $, (a^k!-!1,a^n!-!1) = a^{(n,k)}!-!1,$ where $,(x,y):=gcd(x,y).,$ This is a special case of a strong divisibility sequence.






    share|cite|improve this answer











    $endgroup$


















      4












      $begingroup$

      A modular way: $ {rm mod} a^{large k}!-!1!:, color{#c00}{a^{large k}equiv 1},Rightarrow, a^{large r+kq}equiv a^{large r}(color{#c00}{a^{large k}})^{large q}equiv a^{large r}color{#c00}1^{large q}equiv a^{large r},$



      This uses standard Congruence Rules.



      In the same way $, bequiv 1,Rightarrow, f(b)equiv f(1),$ for any polynomial $,f(x),$ with integer coefficients (above is $,f(x) = x^q, b = a^k).$ So the result, is a special case of the Factor Theorem $,b!-!1mid f(b)!-!f(1),,$ which is a special case of the linked Polynomial Congruence Rule. The advantage of the modular method is that one doesn't need to compute any quotients (only remainders, or congruent numbers).



      Remark $ $ One can prove further that $, (a^k!-!1,a^n!-!1) = a^{(n,k)}!-!1,$ where $,(x,y):=gcd(x,y).,$ This is a special case of a strong divisibility sequence.






      share|cite|improve this answer











      $endgroup$
















        4












        4








        4





        $begingroup$

        A modular way: $ {rm mod} a^{large k}!-!1!:, color{#c00}{a^{large k}equiv 1},Rightarrow, a^{large r+kq}equiv a^{large r}(color{#c00}{a^{large k}})^{large q}equiv a^{large r}color{#c00}1^{large q}equiv a^{large r},$



        This uses standard Congruence Rules.



        In the same way $, bequiv 1,Rightarrow, f(b)equiv f(1),$ for any polynomial $,f(x),$ with integer coefficients (above is $,f(x) = x^q, b = a^k).$ So the result, is a special case of the Factor Theorem $,b!-!1mid f(b)!-!f(1),,$ which is a special case of the linked Polynomial Congruence Rule. The advantage of the modular method is that one doesn't need to compute any quotients (only remainders, or congruent numbers).



        Remark $ $ One can prove further that $, (a^k!-!1,a^n!-!1) = a^{(n,k)}!-!1,$ where $,(x,y):=gcd(x,y).,$ This is a special case of a strong divisibility sequence.






        share|cite|improve this answer











        $endgroup$



        A modular way: $ {rm mod} a^{large k}!-!1!:, color{#c00}{a^{large k}equiv 1},Rightarrow, a^{large r+kq}equiv a^{large r}(color{#c00}{a^{large k}})^{large q}equiv a^{large r}color{#c00}1^{large q}equiv a^{large r},$



        This uses standard Congruence Rules.



        In the same way $, bequiv 1,Rightarrow, f(b)equiv f(1),$ for any polynomial $,f(x),$ with integer coefficients (above is $,f(x) = x^q, b = a^k).$ So the result, is a special case of the Factor Theorem $,b!-!1mid f(b)!-!f(1),,$ which is a special case of the linked Polynomial Congruence Rule. The advantage of the modular method is that one doesn't need to compute any quotients (only remainders, or congruent numbers).



        Remark $ $ One can prove further that $, (a^k!-!1,a^n!-!1) = a^{(n,k)}!-!1,$ where $,(x,y):=gcd(x,y).,$ This is a special case of a strong divisibility sequence.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Feb 18 at 17:31

























        answered Apr 22 '15 at 19:49









        Bill DubuqueBill Dubuque

        213k29195654




        213k29195654






























            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%2f1247197%2fa-different-way-to-show-that-ak-1-mid-an-1-if-k-mid-n%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

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix