Is it possible that $a^{2} - 1 equiv 0 pmod{mcdot a}$ same as $a^{2} - 1 equiv 0 pmod{m}$?












1












$begingroup$


$a^{2} - 1 equiv 0pmod{mcdot a}$ same as $a^{2} - 1 equiv 0 pmod{m}$?



Given that $a$ and $m$ are relatively prime, is it possible for the above equation to hold true? My rational behind this is the following:



Because $a^{2} - 1 equiv 0 pmod{mcdot a}$, this implies that $mcdot amid left(a^{2} - 1right)$, which implies $a^{2} - 1 = lcdot mcdot a, l in mathbb Z$



Is it wrong to then say that: let $t = lcdot a, t in mathbb Z$. Hence, we have $a^{2} - 1 = tcdot m$, thus implying that $a^{2} - 1 equiv 0 pmod {m}$



Note that $a$ is a positive integer in this case



EDIT: What I meant to ask was does $a^{2} - 1 equiv 0 pmod{mcdot a}$ imply $a^{2} - 1 equiv 0 pmod{m}$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Of course. What you say means $a= pm 1$. Indeed, $ammid a^2-1$, and thus, $amid a^2-1$. Hence, $a=pm 1$. This gives, the initial condition is equivalent to $mmid a^2-1$, precisely what you have wanted. Note that, you don't need the coprimeness of $a$ and $m$.
    $endgroup$
    – Aaron
    Jan 15 at 18:29












  • $begingroup$
    Does it? With $a=4$ and $m=3$ we have $15 equiv 0 bmod 3$. Yet, $15$ is not congruent to $0 bmod 12$.
    $endgroup$
    – Randall
    Jan 15 at 18:34










  • $begingroup$
    @Randall you are showing a counter example for the converse, not the question itself, in your case it should be congruent to 0 mod m*a = 12 first, then to check for m = 3
    $endgroup$
    – Wallace
    Jan 15 at 18:41






  • 1




    $begingroup$
    Then the answer is obviously "yes" to your new question since $m$ divides $ma$ no matter what. That's the second paragraph of my answer.
    $endgroup$
    – Randall
    Jan 15 at 18:45








  • 1




    $begingroup$
    $a not mid a^2 -1$ unless $a =pm 1$. So $ma|a^2 -1$ can only happen if $a = pm 1$. So $a^2 - 1equiv 0 pmod {am}$ can not happen unless $a = 1$
    $endgroup$
    – fleablood
    Jan 15 at 22:45
















1












$begingroup$


$a^{2} - 1 equiv 0pmod{mcdot a}$ same as $a^{2} - 1 equiv 0 pmod{m}$?



Given that $a$ and $m$ are relatively prime, is it possible for the above equation to hold true? My rational behind this is the following:



Because $a^{2} - 1 equiv 0 pmod{mcdot a}$, this implies that $mcdot amid left(a^{2} - 1right)$, which implies $a^{2} - 1 = lcdot mcdot a, l in mathbb Z$



Is it wrong to then say that: let $t = lcdot a, t in mathbb Z$. Hence, we have $a^{2} - 1 = tcdot m$, thus implying that $a^{2} - 1 equiv 0 pmod {m}$



Note that $a$ is a positive integer in this case



EDIT: What I meant to ask was does $a^{2} - 1 equiv 0 pmod{mcdot a}$ imply $a^{2} - 1 equiv 0 pmod{m}$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Of course. What you say means $a= pm 1$. Indeed, $ammid a^2-1$, and thus, $amid a^2-1$. Hence, $a=pm 1$. This gives, the initial condition is equivalent to $mmid a^2-1$, precisely what you have wanted. Note that, you don't need the coprimeness of $a$ and $m$.
    $endgroup$
    – Aaron
    Jan 15 at 18:29












  • $begingroup$
    Does it? With $a=4$ and $m=3$ we have $15 equiv 0 bmod 3$. Yet, $15$ is not congruent to $0 bmod 12$.
    $endgroup$
    – Randall
    Jan 15 at 18:34










  • $begingroup$
    @Randall you are showing a counter example for the converse, not the question itself, in your case it should be congruent to 0 mod m*a = 12 first, then to check for m = 3
    $endgroup$
    – Wallace
    Jan 15 at 18:41






  • 1




    $begingroup$
    Then the answer is obviously "yes" to your new question since $m$ divides $ma$ no matter what. That's the second paragraph of my answer.
    $endgroup$
    – Randall
    Jan 15 at 18:45








  • 1




    $begingroup$
    $a not mid a^2 -1$ unless $a =pm 1$. So $ma|a^2 -1$ can only happen if $a = pm 1$. So $a^2 - 1equiv 0 pmod {am}$ can not happen unless $a = 1$
    $endgroup$
    – fleablood
    Jan 15 at 22:45














1












1








1





$begingroup$


$a^{2} - 1 equiv 0pmod{mcdot a}$ same as $a^{2} - 1 equiv 0 pmod{m}$?



Given that $a$ and $m$ are relatively prime, is it possible for the above equation to hold true? My rational behind this is the following:



Because $a^{2} - 1 equiv 0 pmod{mcdot a}$, this implies that $mcdot amid left(a^{2} - 1right)$, which implies $a^{2} - 1 = lcdot mcdot a, l in mathbb Z$



Is it wrong to then say that: let $t = lcdot a, t in mathbb Z$. Hence, we have $a^{2} - 1 = tcdot m$, thus implying that $a^{2} - 1 equiv 0 pmod {m}$



Note that $a$ is a positive integer in this case



EDIT: What I meant to ask was does $a^{2} - 1 equiv 0 pmod{mcdot a}$ imply $a^{2} - 1 equiv 0 pmod{m}$?










share|cite|improve this question











$endgroup$




$a^{2} - 1 equiv 0pmod{mcdot a}$ same as $a^{2} - 1 equiv 0 pmod{m}$?



Given that $a$ and $m$ are relatively prime, is it possible for the above equation to hold true? My rational behind this is the following:



Because $a^{2} - 1 equiv 0 pmod{mcdot a}$, this implies that $mcdot amid left(a^{2} - 1right)$, which implies $a^{2} - 1 = lcdot mcdot a, l in mathbb Z$



Is it wrong to then say that: let $t = lcdot a, t in mathbb Z$. Hence, we have $a^{2} - 1 = tcdot m$, thus implying that $a^{2} - 1 equiv 0 pmod {m}$



Note that $a$ is a positive integer in this case



EDIT: What I meant to ask was does $a^{2} - 1 equiv 0 pmod{mcdot a}$ imply $a^{2} - 1 equiv 0 pmod{m}$?







elementary-number-theory proof-verification modular-arithmetic






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 15 at 22:13









rtybase

11.8k31534




11.8k31534










asked Jan 15 at 18:22









WallaceWallace

1437




1437












  • $begingroup$
    Of course. What you say means $a= pm 1$. Indeed, $ammid a^2-1$, and thus, $amid a^2-1$. Hence, $a=pm 1$. This gives, the initial condition is equivalent to $mmid a^2-1$, precisely what you have wanted. Note that, you don't need the coprimeness of $a$ and $m$.
    $endgroup$
    – Aaron
    Jan 15 at 18:29












  • $begingroup$
    Does it? With $a=4$ and $m=3$ we have $15 equiv 0 bmod 3$. Yet, $15$ is not congruent to $0 bmod 12$.
    $endgroup$
    – Randall
    Jan 15 at 18:34










  • $begingroup$
    @Randall you are showing a counter example for the converse, not the question itself, in your case it should be congruent to 0 mod m*a = 12 first, then to check for m = 3
    $endgroup$
    – Wallace
    Jan 15 at 18:41






  • 1




    $begingroup$
    Then the answer is obviously "yes" to your new question since $m$ divides $ma$ no matter what. That's the second paragraph of my answer.
    $endgroup$
    – Randall
    Jan 15 at 18:45








  • 1




    $begingroup$
    $a not mid a^2 -1$ unless $a =pm 1$. So $ma|a^2 -1$ can only happen if $a = pm 1$. So $a^2 - 1equiv 0 pmod {am}$ can not happen unless $a = 1$
    $endgroup$
    – fleablood
    Jan 15 at 22:45


















  • $begingroup$
    Of course. What you say means $a= pm 1$. Indeed, $ammid a^2-1$, and thus, $amid a^2-1$. Hence, $a=pm 1$. This gives, the initial condition is equivalent to $mmid a^2-1$, precisely what you have wanted. Note that, you don't need the coprimeness of $a$ and $m$.
    $endgroup$
    – Aaron
    Jan 15 at 18:29












  • $begingroup$
    Does it? With $a=4$ and $m=3$ we have $15 equiv 0 bmod 3$. Yet, $15$ is not congruent to $0 bmod 12$.
    $endgroup$
    – Randall
    Jan 15 at 18:34










  • $begingroup$
    @Randall you are showing a counter example for the converse, not the question itself, in your case it should be congruent to 0 mod m*a = 12 first, then to check for m = 3
    $endgroup$
    – Wallace
    Jan 15 at 18:41






  • 1




    $begingroup$
    Then the answer is obviously "yes" to your new question since $m$ divides $ma$ no matter what. That's the second paragraph of my answer.
    $endgroup$
    – Randall
    Jan 15 at 18:45








  • 1




    $begingroup$
    $a not mid a^2 -1$ unless $a =pm 1$. So $ma|a^2 -1$ can only happen if $a = pm 1$. So $a^2 - 1equiv 0 pmod {am}$ can not happen unless $a = 1$
    $endgroup$
    – fleablood
    Jan 15 at 22:45
















$begingroup$
Of course. What you say means $a= pm 1$. Indeed, $ammid a^2-1$, and thus, $amid a^2-1$. Hence, $a=pm 1$. This gives, the initial condition is equivalent to $mmid a^2-1$, precisely what you have wanted. Note that, you don't need the coprimeness of $a$ and $m$.
$endgroup$
– Aaron
Jan 15 at 18:29






$begingroup$
Of course. What you say means $a= pm 1$. Indeed, $ammid a^2-1$, and thus, $amid a^2-1$. Hence, $a=pm 1$. This gives, the initial condition is equivalent to $mmid a^2-1$, precisely what you have wanted. Note that, you don't need the coprimeness of $a$ and $m$.
$endgroup$
– Aaron
Jan 15 at 18:29














$begingroup$
Does it? With $a=4$ and $m=3$ we have $15 equiv 0 bmod 3$. Yet, $15$ is not congruent to $0 bmod 12$.
$endgroup$
– Randall
Jan 15 at 18:34




$begingroup$
Does it? With $a=4$ and $m=3$ we have $15 equiv 0 bmod 3$. Yet, $15$ is not congruent to $0 bmod 12$.
$endgroup$
– Randall
Jan 15 at 18:34












$begingroup$
@Randall you are showing a counter example for the converse, not the question itself, in your case it should be congruent to 0 mod m*a = 12 first, then to check for m = 3
$endgroup$
– Wallace
Jan 15 at 18:41




$begingroup$
@Randall you are showing a counter example for the converse, not the question itself, in your case it should be congruent to 0 mod m*a = 12 first, then to check for m = 3
$endgroup$
– Wallace
Jan 15 at 18:41




1




1




$begingroup$
Then the answer is obviously "yes" to your new question since $m$ divides $ma$ no matter what. That's the second paragraph of my answer.
$endgroup$
– Randall
Jan 15 at 18:45






$begingroup$
Then the answer is obviously "yes" to your new question since $m$ divides $ma$ no matter what. That's the second paragraph of my answer.
$endgroup$
– Randall
Jan 15 at 18:45






1




1




$begingroup$
$a not mid a^2 -1$ unless $a =pm 1$. So $ma|a^2 -1$ can only happen if $a = pm 1$. So $a^2 - 1equiv 0 pmod {am}$ can not happen unless $a = 1$
$endgroup$
– fleablood
Jan 15 at 22:45




$begingroup$
$a not mid a^2 -1$ unless $a =pm 1$. So $ma|a^2 -1$ can only happen if $a = pm 1$. So $a^2 - 1equiv 0 pmod {am}$ can not happen unless $a = 1$
$endgroup$
– fleablood
Jan 15 at 22:45










4 Answers
4






active

oldest

votes


















2












$begingroup$

It is not the same: it only goes in one direction. Yes, it is possible they are both true, but not a universal certainty. And, I don't think it has much to do with $a^2-1$.



If $x equiv 0 bmod ma$ then $ma mid x$. Since clearly $m mid ma$ we have $m mid x$ and so $x equiv 0 bmod m$. For your case, let $x=a^2-1$, but this really doesn't matter: it's still true.



The other direction may be false. For instance $10 equiv 0 bmod 5$ but $10$ is not congruent to $0 bmod 15$. Or, take my example from my comment with $a=4$ and $m=3$: $15equiv 0 bmod 3$ yet $15$ is not congruent to $0 bmod 12$.



Edit: I've interpreted your question "are they the same" as asking "is there an if and only if in between."






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Could you take another look at the question? I made an edit (Something I wish I specified at the start). Is this the one direction it goes?
    $endgroup$
    – Wallace
    Jan 15 at 18:45










  • $begingroup$
    Doesn't this exactly answer it? The $a^2-1$ part doesn't even matter, it's just the fact that $m$ divides $ma$.
    $endgroup$
    – Randall
    Jan 15 at 18:46










  • $begingroup$
    Thank you, Randall!
    $endgroup$
    – Wallace
    Jan 15 at 18:47










  • $begingroup$
    It's really just transitivity of the "divides" relation.
    $endgroup$
    – Randall
    Jan 15 at 18:47



















1












$begingroup$

This statement is not biconditional.



To be precise,



if $a^2-1equiv 0mod (m*a)$, then $a^2-1equiv 0mod a$ .



if $a^2-1equiv 0mod (a)$, then it is not always true that $a^2-1equiv 0mod (m*a)$.



Your logic is correct, however some constraints may be removed. More generally, $m$ and $a$ do not have to be coprime,it does not have to be a, and the exponent can be any integer $n$, not just $2$.



A more general statement is as follows:



If $a^n-1equiv 0mod N$, then $a^n-1equiv 0mod f$, for every factor $f$ of $N$.



Proof. We can see that $N|a^n-1$. Therefore all of its factors must too. $f|a^n-1Longleftrightarrow a^n-1equiv 0mod f$.



I suggest looking into the concept of multiplicative order for a more thorough understanding.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    Of course $,mamid a^2-1 ,Rightarrow, mmid a^2-1,$ is always true, $ $ by $ (ma)n = m(an)$.



    The converse is true $iff m = 0.,$ For if $,m=0,$ both become sides are identical: $,0mid a^2-1$.



    And if $,mneq 0,$ then the RHS: $,mmid a^2-1,$ holds for $,a = 1+km equiv 1pmod{!m}.,$



    But the LHS $,Rightarrow, amid a^2-1,Rightarrow, amid 1,,$ falsified by choosing $,k,$ so $,a = 1+km > 1.$






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      $a^2 -1 pmod {ma} implies ma|a^2 - 1 implies m|a^2-1$ so that one direction always holds if it ever holds.



      However $ma|a^2 - 1 implies exists k: a^2 - 1 = mak$ so $ a -frac 1a =mkin mathbb Z$ which implies $a equiv pm 1$ so $a^2 - 1 pmod {ma}$ only if $a = pm 1$.



      So, yes, IF $a^2 -1 pmod {ma}$ then $a^2 -1 pmod m$. BUT $a^2 - 1 pmod{ma}$ only when $a = pm 1$.



      The other way:



      $a^2 -1 equiv pmod m implies a^2 - 1equiv km pmod {am}$ for some integer $k: 0le k< m$ (and chinese remainder theorem says that such a $k$ is unique) but there is no reason to assume $k =0$ (and lots of reason to assume it isn't).



      So so any $a^2 -1 pmod {m}$ where $anot equiv pm 1 pmod m$ will be a counter example.



      Fo instance $5^2 -1 equiv 0 pmod {24}$ and $gcd(a,5) = 1$ but $5^2 -1 not equiv 0 pmod {5*24 = 120}$






      share|cite|improve this answer









      $endgroup$














        Your Answer








        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%2f3074748%2fis-it-possible-that-a2-1-equiv-0-pmodm-cdot-a-same-as-a2-1-equ%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2












        $begingroup$

        It is not the same: it only goes in one direction. Yes, it is possible they are both true, but not a universal certainty. And, I don't think it has much to do with $a^2-1$.



        If $x equiv 0 bmod ma$ then $ma mid x$. Since clearly $m mid ma$ we have $m mid x$ and so $x equiv 0 bmod m$. For your case, let $x=a^2-1$, but this really doesn't matter: it's still true.



        The other direction may be false. For instance $10 equiv 0 bmod 5$ but $10$ is not congruent to $0 bmod 15$. Or, take my example from my comment with $a=4$ and $m=3$: $15equiv 0 bmod 3$ yet $15$ is not congruent to $0 bmod 12$.



        Edit: I've interpreted your question "are they the same" as asking "is there an if and only if in between."






        share|cite|improve this answer











        $endgroup$













        • $begingroup$
          Could you take another look at the question? I made an edit (Something I wish I specified at the start). Is this the one direction it goes?
          $endgroup$
          – Wallace
          Jan 15 at 18:45










        • $begingroup$
          Doesn't this exactly answer it? The $a^2-1$ part doesn't even matter, it's just the fact that $m$ divides $ma$.
          $endgroup$
          – Randall
          Jan 15 at 18:46










        • $begingroup$
          Thank you, Randall!
          $endgroup$
          – Wallace
          Jan 15 at 18:47










        • $begingroup$
          It's really just transitivity of the "divides" relation.
          $endgroup$
          – Randall
          Jan 15 at 18:47
















        2












        $begingroup$

        It is not the same: it only goes in one direction. Yes, it is possible they are both true, but not a universal certainty. And, I don't think it has much to do with $a^2-1$.



        If $x equiv 0 bmod ma$ then $ma mid x$. Since clearly $m mid ma$ we have $m mid x$ and so $x equiv 0 bmod m$. For your case, let $x=a^2-1$, but this really doesn't matter: it's still true.



        The other direction may be false. For instance $10 equiv 0 bmod 5$ but $10$ is not congruent to $0 bmod 15$. Or, take my example from my comment with $a=4$ and $m=3$: $15equiv 0 bmod 3$ yet $15$ is not congruent to $0 bmod 12$.



        Edit: I've interpreted your question "are they the same" as asking "is there an if and only if in between."






        share|cite|improve this answer











        $endgroup$













        • $begingroup$
          Could you take another look at the question? I made an edit (Something I wish I specified at the start). Is this the one direction it goes?
          $endgroup$
          – Wallace
          Jan 15 at 18:45










        • $begingroup$
          Doesn't this exactly answer it? The $a^2-1$ part doesn't even matter, it's just the fact that $m$ divides $ma$.
          $endgroup$
          – Randall
          Jan 15 at 18:46










        • $begingroup$
          Thank you, Randall!
          $endgroup$
          – Wallace
          Jan 15 at 18:47










        • $begingroup$
          It's really just transitivity of the "divides" relation.
          $endgroup$
          – Randall
          Jan 15 at 18:47














        2












        2








        2





        $begingroup$

        It is not the same: it only goes in one direction. Yes, it is possible they are both true, but not a universal certainty. And, I don't think it has much to do with $a^2-1$.



        If $x equiv 0 bmod ma$ then $ma mid x$. Since clearly $m mid ma$ we have $m mid x$ and so $x equiv 0 bmod m$. For your case, let $x=a^2-1$, but this really doesn't matter: it's still true.



        The other direction may be false. For instance $10 equiv 0 bmod 5$ but $10$ is not congruent to $0 bmod 15$. Or, take my example from my comment with $a=4$ and $m=3$: $15equiv 0 bmod 3$ yet $15$ is not congruent to $0 bmod 12$.



        Edit: I've interpreted your question "are they the same" as asking "is there an if and only if in between."






        share|cite|improve this answer











        $endgroup$



        It is not the same: it only goes in one direction. Yes, it is possible they are both true, but not a universal certainty. And, I don't think it has much to do with $a^2-1$.



        If $x equiv 0 bmod ma$ then $ma mid x$. Since clearly $m mid ma$ we have $m mid x$ and so $x equiv 0 bmod m$. For your case, let $x=a^2-1$, but this really doesn't matter: it's still true.



        The other direction may be false. For instance $10 equiv 0 bmod 5$ but $10$ is not congruent to $0 bmod 15$. Or, take my example from my comment with $a=4$ and $m=3$: $15equiv 0 bmod 3$ yet $15$ is not congruent to $0 bmod 12$.



        Edit: I've interpreted your question "are they the same" as asking "is there an if and only if in between."







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 15 at 18:40

























        answered Jan 15 at 18:25









        RandallRandall

        10.8k11431




        10.8k11431












        • $begingroup$
          Could you take another look at the question? I made an edit (Something I wish I specified at the start). Is this the one direction it goes?
          $endgroup$
          – Wallace
          Jan 15 at 18:45










        • $begingroup$
          Doesn't this exactly answer it? The $a^2-1$ part doesn't even matter, it's just the fact that $m$ divides $ma$.
          $endgroup$
          – Randall
          Jan 15 at 18:46










        • $begingroup$
          Thank you, Randall!
          $endgroup$
          – Wallace
          Jan 15 at 18:47










        • $begingroup$
          It's really just transitivity of the "divides" relation.
          $endgroup$
          – Randall
          Jan 15 at 18:47


















        • $begingroup$
          Could you take another look at the question? I made an edit (Something I wish I specified at the start). Is this the one direction it goes?
          $endgroup$
          – Wallace
          Jan 15 at 18:45










        • $begingroup$
          Doesn't this exactly answer it? The $a^2-1$ part doesn't even matter, it's just the fact that $m$ divides $ma$.
          $endgroup$
          – Randall
          Jan 15 at 18:46










        • $begingroup$
          Thank you, Randall!
          $endgroup$
          – Wallace
          Jan 15 at 18:47










        • $begingroup$
          It's really just transitivity of the "divides" relation.
          $endgroup$
          – Randall
          Jan 15 at 18:47
















        $begingroup$
        Could you take another look at the question? I made an edit (Something I wish I specified at the start). Is this the one direction it goes?
        $endgroup$
        – Wallace
        Jan 15 at 18:45




        $begingroup$
        Could you take another look at the question? I made an edit (Something I wish I specified at the start). Is this the one direction it goes?
        $endgroup$
        – Wallace
        Jan 15 at 18:45












        $begingroup$
        Doesn't this exactly answer it? The $a^2-1$ part doesn't even matter, it's just the fact that $m$ divides $ma$.
        $endgroup$
        – Randall
        Jan 15 at 18:46




        $begingroup$
        Doesn't this exactly answer it? The $a^2-1$ part doesn't even matter, it's just the fact that $m$ divides $ma$.
        $endgroup$
        – Randall
        Jan 15 at 18:46












        $begingroup$
        Thank you, Randall!
        $endgroup$
        – Wallace
        Jan 15 at 18:47




        $begingroup$
        Thank you, Randall!
        $endgroup$
        – Wallace
        Jan 15 at 18:47












        $begingroup$
        It's really just transitivity of the "divides" relation.
        $endgroup$
        – Randall
        Jan 15 at 18:47




        $begingroup$
        It's really just transitivity of the "divides" relation.
        $endgroup$
        – Randall
        Jan 15 at 18:47











        1












        $begingroup$

        This statement is not biconditional.



        To be precise,



        if $a^2-1equiv 0mod (m*a)$, then $a^2-1equiv 0mod a$ .



        if $a^2-1equiv 0mod (a)$, then it is not always true that $a^2-1equiv 0mod (m*a)$.



        Your logic is correct, however some constraints may be removed. More generally, $m$ and $a$ do not have to be coprime,it does not have to be a, and the exponent can be any integer $n$, not just $2$.



        A more general statement is as follows:



        If $a^n-1equiv 0mod N$, then $a^n-1equiv 0mod f$, for every factor $f$ of $N$.



        Proof. We can see that $N|a^n-1$. Therefore all of its factors must too. $f|a^n-1Longleftrightarrow a^n-1equiv 0mod f$.



        I suggest looking into the concept of multiplicative order for a more thorough understanding.






        share|cite|improve this answer









        $endgroup$


















          1












          $begingroup$

          This statement is not biconditional.



          To be precise,



          if $a^2-1equiv 0mod (m*a)$, then $a^2-1equiv 0mod a$ .



          if $a^2-1equiv 0mod (a)$, then it is not always true that $a^2-1equiv 0mod (m*a)$.



          Your logic is correct, however some constraints may be removed. More generally, $m$ and $a$ do not have to be coprime,it does not have to be a, and the exponent can be any integer $n$, not just $2$.



          A more general statement is as follows:



          If $a^n-1equiv 0mod N$, then $a^n-1equiv 0mod f$, for every factor $f$ of $N$.



          Proof. We can see that $N|a^n-1$. Therefore all of its factors must too. $f|a^n-1Longleftrightarrow a^n-1equiv 0mod f$.



          I suggest looking into the concept of multiplicative order for a more thorough understanding.






          share|cite|improve this answer









          $endgroup$
















            1












            1








            1





            $begingroup$

            This statement is not biconditional.



            To be precise,



            if $a^2-1equiv 0mod (m*a)$, then $a^2-1equiv 0mod a$ .



            if $a^2-1equiv 0mod (a)$, then it is not always true that $a^2-1equiv 0mod (m*a)$.



            Your logic is correct, however some constraints may be removed. More generally, $m$ and $a$ do not have to be coprime,it does not have to be a, and the exponent can be any integer $n$, not just $2$.



            A more general statement is as follows:



            If $a^n-1equiv 0mod N$, then $a^n-1equiv 0mod f$, for every factor $f$ of $N$.



            Proof. We can see that $N|a^n-1$. Therefore all of its factors must too. $f|a^n-1Longleftrightarrow a^n-1equiv 0mod f$.



            I suggest looking into the concept of multiplicative order for a more thorough understanding.






            share|cite|improve this answer









            $endgroup$



            This statement is not biconditional.



            To be precise,



            if $a^2-1equiv 0mod (m*a)$, then $a^2-1equiv 0mod a$ .



            if $a^2-1equiv 0mod (a)$, then it is not always true that $a^2-1equiv 0mod (m*a)$.



            Your logic is correct, however some constraints may be removed. More generally, $m$ and $a$ do not have to be coprime,it does not have to be a, and the exponent can be any integer $n$, not just $2$.



            A more general statement is as follows:



            If $a^n-1equiv 0mod N$, then $a^n-1equiv 0mod f$, for every factor $f$ of $N$.



            Proof. We can see that $N|a^n-1$. Therefore all of its factors must too. $f|a^n-1Longleftrightarrow a^n-1equiv 0mod f$.



            I suggest looking into the concept of multiplicative order for a more thorough understanding.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 15 at 18:40









            Tejas RaoTejas Rao

            34211




            34211























                0












                $begingroup$

                Of course $,mamid a^2-1 ,Rightarrow, mmid a^2-1,$ is always true, $ $ by $ (ma)n = m(an)$.



                The converse is true $iff m = 0.,$ For if $,m=0,$ both become sides are identical: $,0mid a^2-1$.



                And if $,mneq 0,$ then the RHS: $,mmid a^2-1,$ holds for $,a = 1+km equiv 1pmod{!m}.,$



                But the LHS $,Rightarrow, amid a^2-1,Rightarrow, amid 1,,$ falsified by choosing $,k,$ so $,a = 1+km > 1.$






                share|cite|improve this answer









                $endgroup$


















                  0












                  $begingroup$

                  Of course $,mamid a^2-1 ,Rightarrow, mmid a^2-1,$ is always true, $ $ by $ (ma)n = m(an)$.



                  The converse is true $iff m = 0.,$ For if $,m=0,$ both become sides are identical: $,0mid a^2-1$.



                  And if $,mneq 0,$ then the RHS: $,mmid a^2-1,$ holds for $,a = 1+km equiv 1pmod{!m}.,$



                  But the LHS $,Rightarrow, amid a^2-1,Rightarrow, amid 1,,$ falsified by choosing $,k,$ so $,a = 1+km > 1.$






                  share|cite|improve this answer









                  $endgroup$
















                    0












                    0








                    0





                    $begingroup$

                    Of course $,mamid a^2-1 ,Rightarrow, mmid a^2-1,$ is always true, $ $ by $ (ma)n = m(an)$.



                    The converse is true $iff m = 0.,$ For if $,m=0,$ both become sides are identical: $,0mid a^2-1$.



                    And if $,mneq 0,$ then the RHS: $,mmid a^2-1,$ holds for $,a = 1+km equiv 1pmod{!m}.,$



                    But the LHS $,Rightarrow, amid a^2-1,Rightarrow, amid 1,,$ falsified by choosing $,k,$ so $,a = 1+km > 1.$






                    share|cite|improve this answer









                    $endgroup$



                    Of course $,mamid a^2-1 ,Rightarrow, mmid a^2-1,$ is always true, $ $ by $ (ma)n = m(an)$.



                    The converse is true $iff m = 0.,$ For if $,m=0,$ both become sides are identical: $,0mid a^2-1$.



                    And if $,mneq 0,$ then the RHS: $,mmid a^2-1,$ holds for $,a = 1+km equiv 1pmod{!m}.,$



                    But the LHS $,Rightarrow, amid a^2-1,Rightarrow, amid 1,,$ falsified by choosing $,k,$ so $,a = 1+km > 1.$







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Jan 15 at 19:39









                    Bill DubuqueBill Dubuque

                    214k29198660




                    214k29198660























                        0












                        $begingroup$

                        $a^2 -1 pmod {ma} implies ma|a^2 - 1 implies m|a^2-1$ so that one direction always holds if it ever holds.



                        However $ma|a^2 - 1 implies exists k: a^2 - 1 = mak$ so $ a -frac 1a =mkin mathbb Z$ which implies $a equiv pm 1$ so $a^2 - 1 pmod {ma}$ only if $a = pm 1$.



                        So, yes, IF $a^2 -1 pmod {ma}$ then $a^2 -1 pmod m$. BUT $a^2 - 1 pmod{ma}$ only when $a = pm 1$.



                        The other way:



                        $a^2 -1 equiv pmod m implies a^2 - 1equiv km pmod {am}$ for some integer $k: 0le k< m$ (and chinese remainder theorem says that such a $k$ is unique) but there is no reason to assume $k =0$ (and lots of reason to assume it isn't).



                        So so any $a^2 -1 pmod {m}$ where $anot equiv pm 1 pmod m$ will be a counter example.



                        Fo instance $5^2 -1 equiv 0 pmod {24}$ and $gcd(a,5) = 1$ but $5^2 -1 not equiv 0 pmod {5*24 = 120}$






                        share|cite|improve this answer









                        $endgroup$


















                          0












                          $begingroup$

                          $a^2 -1 pmod {ma} implies ma|a^2 - 1 implies m|a^2-1$ so that one direction always holds if it ever holds.



                          However $ma|a^2 - 1 implies exists k: a^2 - 1 = mak$ so $ a -frac 1a =mkin mathbb Z$ which implies $a equiv pm 1$ so $a^2 - 1 pmod {ma}$ only if $a = pm 1$.



                          So, yes, IF $a^2 -1 pmod {ma}$ then $a^2 -1 pmod m$. BUT $a^2 - 1 pmod{ma}$ only when $a = pm 1$.



                          The other way:



                          $a^2 -1 equiv pmod m implies a^2 - 1equiv km pmod {am}$ for some integer $k: 0le k< m$ (and chinese remainder theorem says that such a $k$ is unique) but there is no reason to assume $k =0$ (and lots of reason to assume it isn't).



                          So so any $a^2 -1 pmod {m}$ where $anot equiv pm 1 pmod m$ will be a counter example.



                          Fo instance $5^2 -1 equiv 0 pmod {24}$ and $gcd(a,5) = 1$ but $5^2 -1 not equiv 0 pmod {5*24 = 120}$






                          share|cite|improve this answer









                          $endgroup$
















                            0












                            0








                            0





                            $begingroup$

                            $a^2 -1 pmod {ma} implies ma|a^2 - 1 implies m|a^2-1$ so that one direction always holds if it ever holds.



                            However $ma|a^2 - 1 implies exists k: a^2 - 1 = mak$ so $ a -frac 1a =mkin mathbb Z$ which implies $a equiv pm 1$ so $a^2 - 1 pmod {ma}$ only if $a = pm 1$.



                            So, yes, IF $a^2 -1 pmod {ma}$ then $a^2 -1 pmod m$. BUT $a^2 - 1 pmod{ma}$ only when $a = pm 1$.



                            The other way:



                            $a^2 -1 equiv pmod m implies a^2 - 1equiv km pmod {am}$ for some integer $k: 0le k< m$ (and chinese remainder theorem says that such a $k$ is unique) but there is no reason to assume $k =0$ (and lots of reason to assume it isn't).



                            So so any $a^2 -1 pmod {m}$ where $anot equiv pm 1 pmod m$ will be a counter example.



                            Fo instance $5^2 -1 equiv 0 pmod {24}$ and $gcd(a,5) = 1$ but $5^2 -1 not equiv 0 pmod {5*24 = 120}$






                            share|cite|improve this answer









                            $endgroup$



                            $a^2 -1 pmod {ma} implies ma|a^2 - 1 implies m|a^2-1$ so that one direction always holds if it ever holds.



                            However $ma|a^2 - 1 implies exists k: a^2 - 1 = mak$ so $ a -frac 1a =mkin mathbb Z$ which implies $a equiv pm 1$ so $a^2 - 1 pmod {ma}$ only if $a = pm 1$.



                            So, yes, IF $a^2 -1 pmod {ma}$ then $a^2 -1 pmod m$. BUT $a^2 - 1 pmod{ma}$ only when $a = pm 1$.



                            The other way:



                            $a^2 -1 equiv pmod m implies a^2 - 1equiv km pmod {am}$ for some integer $k: 0le k< m$ (and chinese remainder theorem says that such a $k$ is unique) but there is no reason to assume $k =0$ (and lots of reason to assume it isn't).



                            So so any $a^2 -1 pmod {m}$ where $anot equiv pm 1 pmod m$ will be a counter example.



                            Fo instance $5^2 -1 equiv 0 pmod {24}$ and $gcd(a,5) = 1$ but $5^2 -1 not equiv 0 pmod {5*24 = 120}$







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Jan 15 at 22:38









                            fleabloodfleablood

                            1




                            1






























                                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%2f3074748%2fis-it-possible-that-a2-1-equiv-0-pmodm-cdot-a-same-as-a2-1-equ%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

                                Bressuire

                                Cabo Verde

                                Gyllenstierna