Prove that $M_nmid (i+n)(i-n)$ and $M_nmid(i+n-1)(i-n+1)$ The 2019 Stack Overflow Developer Survey Results Are InShow that there are infinitely many primes $p$ such that $p = 1 (mod q)$ in a very specific wayIs my proof correct? Proof: $n^2$ is odd then $n$ is odd.Trouble with a proof. I cannot prove this without inf many proofs for each and every case.Confirmation of Proof: $forallx,y,zsubsetmathbbZ, x^2 + 2y^2 = 3z^2 Leftrightarrow 3mid xland y$Consider $fbig(xy + f(y)big) = y,f(x)$ then find the value of $f(y)$. Is there another way to approach the problem?On the conjecture that $12mid t_n + t_n+1$.In proving that $sqrta$ is always irrational, $forall ainleftBbb R^+ : 1< aneq b^2right$… a different way.Is there a pattern in the sequence $l_1,l_2,l_3,ldots$?Is $sum_i=1^n-1i^n-1equiv -1pmod 2nLeftrightarrow text$n$ is prime equiv 3pmod 4$?Validity of Proof for 'Possibility of Subtraction' from Apostol 1

Inversion Puzzle

Why do UK politicians seemingly ignore opinion polls on Brexit?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Dual Citizen. Exited the US on Italian passport recently

Access elements in std::string where positon of string is greater than its size

Is bread bad for ducks?

How to change the limits of integration

Why can Shazam do this?

Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?

What is the best strategy for white in this position?

Understanding the implication of what "well-defined" means for the operation in quotient group

What is the steepest angle that a canal can be traversable without locks?

Are there any other methods to apply to solving simultaneous equations?

JSON.serialize: is it possible to suppress null values of a map?

How to make payment on the internet without leaving a money trail?

What do the Banks children have against barley water?

Does it makes sense to buy a new cycle to learn riding?

Monty Hall variation

What is the motivation for a law requiring 2 parties to consent for recording a conversation

In microwave frequencies, do you use a circulator when you need a (near) perfect diode?

Is three citations per paragraph excessive for undergraduate research paper?

A poker game description that does not feel gimmicky

What can other administrators access on my machine?

Protecting Dualbooting Windows from dangerous code (like rm -rf)



Prove that $M_nmid (i+n)(i-n)$ and $M_nmid(i+n-1)(i-n+1)$



The 2019 Stack Overflow Developer Survey Results Are InShow that there are infinitely many primes $p$ such that $p = 1 (mod q)$ in a very specific wayIs my proof correct? Proof: $n^2$ is odd then $n$ is odd.Trouble with a proof. I cannot prove this without inf many proofs for each and every case.Confirmation of Proof: $forallx,y,zsubsetmathbbZ, x^2 + 2y^2 = 3z^2 Leftrightarrow 3mid xland y$Consider $fbig(xy + f(y)big) = y,f(x)$ then find the value of $f(y)$. Is there another way to approach the problem?On the conjecture that $12mid t_n + t_n+1$.In proving that $sqrta$ is always irrational, $forall ainleftBbb R^+ : 1< aneq b^2right$… a different way.Is there a pattern in the sequence $l_1,l_2,l_3,ldots$?Is $sum_i=1^n-1i^n-1equiv -1pmod 2nLeftrightarrow text$n$ is prime equiv 3pmod 4$?Validity of Proof for 'Possibility of Subtraction' from Apostol 1










1












$begingroup$


My friend gave me a problem:




Prove that if $M_n$ is the $n^textth$ odd number, then for all integers $i$, $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1)tag*$[1]$$$




The following was my attempt at a proof:




Attempt.



Firstly, $(i+n)(i-n)=i^2-n^2$ and $(i+n-1)(i-n+1)=i^2-(n-1)^2$. Note that $$beginaligni^2-(n-1)^2&=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) \therefore M_n &; |,,,2n^2-1.tag*$big(because M_nmid i^2-n^2big)$endalign$$



Now since $M_n$ is the $n^textth$ odd number, then $M_n=2n-1$. It thus suffices to prove that $$2n-1mid 2n^2-1.$$ However, there are cases where $2n^2-1$ is prime, and clearly, $2n-1neq 2n^2-1$ unless $nin0,1$ so I must have done something wrong... however, I didn't think I did, and I thought the question was wrong. So I asked my friend for the proof and he did this:




Proof.



Ignore the case where $n=1$ since that would mean $M_n=1$ and $1$ divides everything.



Suppose that $3mid i^2-1=(i+1)(i-1)$. Notice that $3mid i^2-1-3=i^2-4=(i+2)(i-2)$. $$therefore 3mid (i+2)(i-2)Leftrightarrow 3mid (i+1)(n-1)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=2$$$ Suppose that $5mid i^2-4=(i+2)(i-2)$. Notice that $5mid i^2-4-5=i^2-9=(i+3)(i-3)$. $$therefore 5mid (i+3)(i-3)Leftrightarrow 5mid(i+2)(i-2)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=3$$$ Suppose that $7mid i^2-9=(i+3)(i-3)$. Notice that $7mid i^2-9-7=i^2-16=(i+4)(i-4)$. $$therefore 7mid (i+4)(i-4)Leftrightarrow 7mid(i+3)(i-3)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=4$$$ Clearly, this would continue ad infinitum if (and only if!) $$sum_j=1^k (2j-1)=k^2tagfor some $k$$$ which is a well-known theorem. Since this is true, then $[1]$ therefore deems true. $;bigcirc$




His proof looks correct, I don't doubt... but what is wrong with my own attempt? It's late for me now, as well as my friend, so he went to bed, and unfortunately he didn't have the time to tell me.



Hence, I didn't go to bed, and I came to the MSE!



May someone please tell me where my mistake is in my attempt of the proof? I cannot find it, and surely there must be at least one... right?



Thank you in advance.










share|cite|improve this question









$endgroup$
















    1












    $begingroup$


    My friend gave me a problem:




    Prove that if $M_n$ is the $n^textth$ odd number, then for all integers $i$, $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1)tag*$[1]$$$




    The following was my attempt at a proof:




    Attempt.



    Firstly, $(i+n)(i-n)=i^2-n^2$ and $(i+n-1)(i-n+1)=i^2-(n-1)^2$. Note that $$beginaligni^2-(n-1)^2&=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) \therefore M_n &; |,,,2n^2-1.tag*$big(because M_nmid i^2-n^2big)$endalign$$



    Now since $M_n$ is the $n^textth$ odd number, then $M_n=2n-1$. It thus suffices to prove that $$2n-1mid 2n^2-1.$$ However, there are cases where $2n^2-1$ is prime, and clearly, $2n-1neq 2n^2-1$ unless $nin0,1$ so I must have done something wrong... however, I didn't think I did, and I thought the question was wrong. So I asked my friend for the proof and he did this:




    Proof.



    Ignore the case where $n=1$ since that would mean $M_n=1$ and $1$ divides everything.



    Suppose that $3mid i^2-1=(i+1)(i-1)$. Notice that $3mid i^2-1-3=i^2-4=(i+2)(i-2)$. $$therefore 3mid (i+2)(i-2)Leftrightarrow 3mid (i+1)(n-1)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=2$$$ Suppose that $5mid i^2-4=(i+2)(i-2)$. Notice that $5mid i^2-4-5=i^2-9=(i+3)(i-3)$. $$therefore 5mid (i+3)(i-3)Leftrightarrow 5mid(i+2)(i-2)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=3$$$ Suppose that $7mid i^2-9=(i+3)(i-3)$. Notice that $7mid i^2-9-7=i^2-16=(i+4)(i-4)$. $$therefore 7mid (i+4)(i-4)Leftrightarrow 7mid(i+3)(i-3)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=4$$$ Clearly, this would continue ad infinitum if (and only if!) $$sum_j=1^k (2j-1)=k^2tagfor some $k$$$ which is a well-known theorem. Since this is true, then $[1]$ therefore deems true. $;bigcirc$




    His proof looks correct, I don't doubt... but what is wrong with my own attempt? It's late for me now, as well as my friend, so he went to bed, and unfortunately he didn't have the time to tell me.



    Hence, I didn't go to bed, and I came to the MSE!



    May someone please tell me where my mistake is in my attempt of the proof? I cannot find it, and surely there must be at least one... right?



    Thank you in advance.










    share|cite|improve this question









    $endgroup$














      1












      1








      1





      $begingroup$


      My friend gave me a problem:




      Prove that if $M_n$ is the $n^textth$ odd number, then for all integers $i$, $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1)tag*$[1]$$$




      The following was my attempt at a proof:




      Attempt.



      Firstly, $(i+n)(i-n)=i^2-n^2$ and $(i+n-1)(i-n+1)=i^2-(n-1)^2$. Note that $$beginaligni^2-(n-1)^2&=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) \therefore M_n &; |,,,2n^2-1.tag*$big(because M_nmid i^2-n^2big)$endalign$$



      Now since $M_n$ is the $n^textth$ odd number, then $M_n=2n-1$. It thus suffices to prove that $$2n-1mid 2n^2-1.$$ However, there are cases where $2n^2-1$ is prime, and clearly, $2n-1neq 2n^2-1$ unless $nin0,1$ so I must have done something wrong... however, I didn't think I did, and I thought the question was wrong. So I asked my friend for the proof and he did this:




      Proof.



      Ignore the case where $n=1$ since that would mean $M_n=1$ and $1$ divides everything.



      Suppose that $3mid i^2-1=(i+1)(i-1)$. Notice that $3mid i^2-1-3=i^2-4=(i+2)(i-2)$. $$therefore 3mid (i+2)(i-2)Leftrightarrow 3mid (i+1)(n-1)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=2$$$ Suppose that $5mid i^2-4=(i+2)(i-2)$. Notice that $5mid i^2-4-5=i^2-9=(i+3)(i-3)$. $$therefore 5mid (i+3)(i-3)Leftrightarrow 5mid(i+2)(i-2)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=3$$$ Suppose that $7mid i^2-9=(i+3)(i-3)$. Notice that $7mid i^2-9-7=i^2-16=(i+4)(i-4)$. $$therefore 7mid (i+4)(i-4)Leftrightarrow 7mid(i+3)(i-3)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=4$$$ Clearly, this would continue ad infinitum if (and only if!) $$sum_j=1^k (2j-1)=k^2tagfor some $k$$$ which is a well-known theorem. Since this is true, then $[1]$ therefore deems true. $;bigcirc$




      His proof looks correct, I don't doubt... but what is wrong with my own attempt? It's late for me now, as well as my friend, so he went to bed, and unfortunately he didn't have the time to tell me.



      Hence, I didn't go to bed, and I came to the MSE!



      May someone please tell me where my mistake is in my attempt of the proof? I cannot find it, and surely there must be at least one... right?



      Thank you in advance.










      share|cite|improve this question









      $endgroup$




      My friend gave me a problem:




      Prove that if $M_n$ is the $n^textth$ odd number, then for all integers $i$, $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1)tag*$[1]$$$




      The following was my attempt at a proof:




      Attempt.



      Firstly, $(i+n)(i-n)=i^2-n^2$ and $(i+n-1)(i-n+1)=i^2-(n-1)^2$. Note that $$beginaligni^2-(n-1)^2&=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) \therefore M_n &; |,,,2n^2-1.tag*$big(because M_nmid i^2-n^2big)$endalign$$



      Now since $M_n$ is the $n^textth$ odd number, then $M_n=2n-1$. It thus suffices to prove that $$2n-1mid 2n^2-1.$$ However, there are cases where $2n^2-1$ is prime, and clearly, $2n-1neq 2n^2-1$ unless $nin0,1$ so I must have done something wrong... however, I didn't think I did, and I thought the question was wrong. So I asked my friend for the proof and he did this:




      Proof.



      Ignore the case where $n=1$ since that would mean $M_n=1$ and $1$ divides everything.



      Suppose that $3mid i^2-1=(i+1)(i-1)$. Notice that $3mid i^2-1-3=i^2-4=(i+2)(i-2)$. $$therefore 3mid (i+2)(i-2)Leftrightarrow 3mid (i+1)(n-1)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=2$$$ Suppose that $5mid i^2-4=(i+2)(i-2)$. Notice that $5mid i^2-4-5=i^2-9=(i+3)(i-3)$. $$therefore 5mid (i+3)(i-3)Leftrightarrow 5mid(i+2)(i-2)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=3$$$ Suppose that $7mid i^2-9=(i+3)(i-3)$. Notice that $7mid i^2-9-7=i^2-16=(i+4)(i-4)$. $$therefore 7mid (i+4)(i-4)Leftrightarrow 7mid(i+3)(i-3)$$ or $$M_nmid (i+n)(i-n)quadtextandquad M_nmid(i+n-1)(i-n+1).tag$n=4$$$ Clearly, this would continue ad infinitum if (and only if!) $$sum_j=1^k (2j-1)=k^2tagfor some $k$$$ which is a well-known theorem. Since this is true, then $[1]$ therefore deems true. $;bigcirc$




      His proof looks correct, I don't doubt... but what is wrong with my own attempt? It's late for me now, as well as my friend, so he went to bed, and unfortunately he didn't have the time to tell me.



      Hence, I didn't go to bed, and I came to the MSE!



      May someone please tell me where my mistake is in my attempt of the proof? I cannot find it, and surely there must be at least one... right?



      Thank you in advance.







      number-theory proof-verification proof-writing proof-explanation divisibility






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 30 at 12:12









      user477343user477343

      3,70931245




      3,70931245




















          2 Answers
          2






          active

          oldest

          votes


















          1












          $begingroup$

          Your mistake is that $(n-1)^2=n^2-2n+1$, but you write
          $$(n-1)^2=n^2-2n^2+1.$$
          You get stuck trying to prove that $2n-1mid 2n^2-1$, which indeed fails for some $n$, when in fact this should be $2n-1mid2n-1$, which is obviously true.



          Of course, this does not yet prove that $M_n$ divides both
          $$(i-n)(i+n)qquadtext and qquad(i-n+1)(i+n-1),$$
          but only that $M_n$ divides their difference. You will have a hard time proving the statement however, because it is false (as noted in the comment below). This is illustrated very clearly by taking $i=0$; it is clear that $2n-1$ divides $-n^2$ if and only if $n=1$ (or $n=0$ if that is allowed).






          share|cite|improve this answer











          $endgroup$








          • 2




            $begingroup$
            Btw $i=7$ and $n=5$ doesn't work
            $endgroup$
            – TheSimpliFire
            Mar 30 at 12:29










          • $begingroup$
            Yeah, I had a chat with @TheSimpliFire about it; $[1]$ is not true for all integers $i$ anyways, so... yeah. I will tell this to my friend tomorrow >:| but thanks for the answer. Just a small quick thing, but: what do you mean by the first part of your answer? Where exactly have I demonstrated that $(n-1)^2=n^2-2colorredn+1$?
            $endgroup$
            – user477343
            Mar 30 at 12:39







          • 1




            $begingroup$
            @user477343 In your attempt you write that $$beginalign i^2-(n-1)^2 &=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) endalign,$$ but in both lines the $2n^2$ term should be $2n$.
            $endgroup$
            – Servaes
            Mar 30 at 14:14











          • $begingroup$
            Oh, wait, I thought... ok, I see. Thanks for that. I will give you a tick for focusing on this :) $colorgreencheckmark$
            $endgroup$
            – user477343
            Mar 30 at 22:16



















          1












          $begingroup$

          Your friend actually did nothing, but your evaluation is incorrect as well.



          Indeed, $M_n|(i+n)(i-n)$ is equivalent to $M_n|(i+n-1)(i-n+1)$.



          But you realize this actually says nothing.



          I am curious what your friend was trying to show there.



          If it is induction, it would be the worst induction I have ever seen.



          You see the statement is about $i$, not $n$, so what you should use induction on $i$, that is , if$M_n|(i+n)(i-n)$, then $M_n|(i+1+n)(i+1-n)$( the "and" statement, as shown, is equal to this one), which leads to $2n-1|2i+1$, is a nosense



          And your friend doesn not show his base case. The base case should be $2n-1|n^2-1$, which is another nonsense, just pick $2n-1$ as any prime number.



          There is nothing valid here, he just used a very very bad inudction, that is all.






          share|cite|improve this answer











          $endgroup$












          • $begingroup$
            $(+1)$: yep, I totally agree. Too bad it's $11$:$44$pm here where I am, so my friend is in bed now, probably dreaming about this... before I let him know of his atrocious mistakes tomorrow.
            $endgroup$
            – user477343
            Mar 30 at 12:44












          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%2f3168238%2fprove-that-m-n-mid-ini-n-and-m-n-midin-1i-n1%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1












          $begingroup$

          Your mistake is that $(n-1)^2=n^2-2n+1$, but you write
          $$(n-1)^2=n^2-2n^2+1.$$
          You get stuck trying to prove that $2n-1mid 2n^2-1$, which indeed fails for some $n$, when in fact this should be $2n-1mid2n-1$, which is obviously true.



          Of course, this does not yet prove that $M_n$ divides both
          $$(i-n)(i+n)qquadtext and qquad(i-n+1)(i+n-1),$$
          but only that $M_n$ divides their difference. You will have a hard time proving the statement however, because it is false (as noted in the comment below). This is illustrated very clearly by taking $i=0$; it is clear that $2n-1$ divides $-n^2$ if and only if $n=1$ (or $n=0$ if that is allowed).






          share|cite|improve this answer











          $endgroup$








          • 2




            $begingroup$
            Btw $i=7$ and $n=5$ doesn't work
            $endgroup$
            – TheSimpliFire
            Mar 30 at 12:29










          • $begingroup$
            Yeah, I had a chat with @TheSimpliFire about it; $[1]$ is not true for all integers $i$ anyways, so... yeah. I will tell this to my friend tomorrow >:| but thanks for the answer. Just a small quick thing, but: what do you mean by the first part of your answer? Where exactly have I demonstrated that $(n-1)^2=n^2-2colorredn+1$?
            $endgroup$
            – user477343
            Mar 30 at 12:39







          • 1




            $begingroup$
            @user477343 In your attempt you write that $$beginalign i^2-(n-1)^2 &=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) endalign,$$ but in both lines the $2n^2$ term should be $2n$.
            $endgroup$
            – Servaes
            Mar 30 at 14:14











          • $begingroup$
            Oh, wait, I thought... ok, I see. Thanks for that. I will give you a tick for focusing on this :) $colorgreencheckmark$
            $endgroup$
            – user477343
            Mar 30 at 22:16
















          1












          $begingroup$

          Your mistake is that $(n-1)^2=n^2-2n+1$, but you write
          $$(n-1)^2=n^2-2n^2+1.$$
          You get stuck trying to prove that $2n-1mid 2n^2-1$, which indeed fails for some $n$, when in fact this should be $2n-1mid2n-1$, which is obviously true.



          Of course, this does not yet prove that $M_n$ divides both
          $$(i-n)(i+n)qquadtext and qquad(i-n+1)(i+n-1),$$
          but only that $M_n$ divides their difference. You will have a hard time proving the statement however, because it is false (as noted in the comment below). This is illustrated very clearly by taking $i=0$; it is clear that $2n-1$ divides $-n^2$ if and only if $n=1$ (or $n=0$ if that is allowed).






          share|cite|improve this answer











          $endgroup$








          • 2




            $begingroup$
            Btw $i=7$ and $n=5$ doesn't work
            $endgroup$
            – TheSimpliFire
            Mar 30 at 12:29










          • $begingroup$
            Yeah, I had a chat with @TheSimpliFire about it; $[1]$ is not true for all integers $i$ anyways, so... yeah. I will tell this to my friend tomorrow >:| but thanks for the answer. Just a small quick thing, but: what do you mean by the first part of your answer? Where exactly have I demonstrated that $(n-1)^2=n^2-2colorredn+1$?
            $endgroup$
            – user477343
            Mar 30 at 12:39







          • 1




            $begingroup$
            @user477343 In your attempt you write that $$beginalign i^2-(n-1)^2 &=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) endalign,$$ but in both lines the $2n^2$ term should be $2n$.
            $endgroup$
            – Servaes
            Mar 30 at 14:14











          • $begingroup$
            Oh, wait, I thought... ok, I see. Thanks for that. I will give you a tick for focusing on this :) $colorgreencheckmark$
            $endgroup$
            – user477343
            Mar 30 at 22:16














          1












          1








          1





          $begingroup$

          Your mistake is that $(n-1)^2=n^2-2n+1$, but you write
          $$(n-1)^2=n^2-2n^2+1.$$
          You get stuck trying to prove that $2n-1mid 2n^2-1$, which indeed fails for some $n$, when in fact this should be $2n-1mid2n-1$, which is obviously true.



          Of course, this does not yet prove that $M_n$ divides both
          $$(i-n)(i+n)qquadtext and qquad(i-n+1)(i+n-1),$$
          but only that $M_n$ divides their difference. You will have a hard time proving the statement however, because it is false (as noted in the comment below). This is illustrated very clearly by taking $i=0$; it is clear that $2n-1$ divides $-n^2$ if and only if $n=1$ (or $n=0$ if that is allowed).






          share|cite|improve this answer











          $endgroup$



          Your mistake is that $(n-1)^2=n^2-2n+1$, but you write
          $$(n-1)^2=n^2-2n^2+1.$$
          You get stuck trying to prove that $2n-1mid 2n^2-1$, which indeed fails for some $n$, when in fact this should be $2n-1mid2n-1$, which is obviously true.



          Of course, this does not yet prove that $M_n$ divides both
          $$(i-n)(i+n)qquadtext and qquad(i-n+1)(i+n-1),$$
          but only that $M_n$ divides their difference. You will have a hard time proving the statement however, because it is false (as noted in the comment below). This is illustrated very clearly by taking $i=0$; it is clear that $2n-1$ divides $-n^2$ if and only if $n=1$ (or $n=0$ if that is allowed).







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Mar 30 at 12:31

























          answered Mar 30 at 12:27









          ServaesServaes

          30.2k342101




          30.2k342101







          • 2




            $begingroup$
            Btw $i=7$ and $n=5$ doesn't work
            $endgroup$
            – TheSimpliFire
            Mar 30 at 12:29










          • $begingroup$
            Yeah, I had a chat with @TheSimpliFire about it; $[1]$ is not true for all integers $i$ anyways, so... yeah. I will tell this to my friend tomorrow >:| but thanks for the answer. Just a small quick thing, but: what do you mean by the first part of your answer? Where exactly have I demonstrated that $(n-1)^2=n^2-2colorredn+1$?
            $endgroup$
            – user477343
            Mar 30 at 12:39







          • 1




            $begingroup$
            @user477343 In your attempt you write that $$beginalign i^2-(n-1)^2 &=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) endalign,$$ but in both lines the $2n^2$ term should be $2n$.
            $endgroup$
            – Servaes
            Mar 30 at 14:14











          • $begingroup$
            Oh, wait, I thought... ok, I see. Thanks for that. I will give you a tick for focusing on this :) $colorgreencheckmark$
            $endgroup$
            – user477343
            Mar 30 at 22:16













          • 2




            $begingroup$
            Btw $i=7$ and $n=5$ doesn't work
            $endgroup$
            – TheSimpliFire
            Mar 30 at 12:29










          • $begingroup$
            Yeah, I had a chat with @TheSimpliFire about it; $[1]$ is not true for all integers $i$ anyways, so... yeah. I will tell this to my friend tomorrow >:| but thanks for the answer. Just a small quick thing, but: what do you mean by the first part of your answer? Where exactly have I demonstrated that $(n-1)^2=n^2-2colorredn+1$?
            $endgroup$
            – user477343
            Mar 30 at 12:39







          • 1




            $begingroup$
            @user477343 In your attempt you write that $$beginalign i^2-(n-1)^2 &=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) endalign,$$ but in both lines the $2n^2$ term should be $2n$.
            $endgroup$
            – Servaes
            Mar 30 at 14:14











          • $begingroup$
            Oh, wait, I thought... ok, I see. Thanks for that. I will give you a tick for focusing on this :) $colorgreencheckmark$
            $endgroup$
            – user477343
            Mar 30 at 22:16








          2




          2




          $begingroup$
          Btw $i=7$ and $n=5$ doesn't work
          $endgroup$
          – TheSimpliFire
          Mar 30 at 12:29




          $begingroup$
          Btw $i=7$ and $n=5$ doesn't work
          $endgroup$
          – TheSimpliFire
          Mar 30 at 12:29












          $begingroup$
          Yeah, I had a chat with @TheSimpliFire about it; $[1]$ is not true for all integers $i$ anyways, so... yeah. I will tell this to my friend tomorrow >:| but thanks for the answer. Just a small quick thing, but: what do you mean by the first part of your answer? Where exactly have I demonstrated that $(n-1)^2=n^2-2colorredn+1$?
          $endgroup$
          – user477343
          Mar 30 at 12:39





          $begingroup$
          Yeah, I had a chat with @TheSimpliFire about it; $[1]$ is not true for all integers $i$ anyways, so... yeah. I will tell this to my friend tomorrow >:| but thanks for the answer. Just a small quick thing, but: what do you mean by the first part of your answer? Where exactly have I demonstrated that $(n-1)^2=n^2-2colorredn+1$?
          $endgroup$
          – user477343
          Mar 30 at 12:39





          1




          1




          $begingroup$
          @user477343 In your attempt you write that $$beginalign i^2-(n-1)^2 &=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) endalign,$$ but in both lines the $2n^2$ term should be $2n$.
          $endgroup$
          – Servaes
          Mar 30 at 14:14





          $begingroup$
          @user477343 In your attempt you write that $$beginalign i^2-(n-1)^2 &=i^2-(n^2+1-2n^2) \ &=i^2-n^2+(2n^2-1) endalign,$$ but in both lines the $2n^2$ term should be $2n$.
          $endgroup$
          – Servaes
          Mar 30 at 14:14













          $begingroup$
          Oh, wait, I thought... ok, I see. Thanks for that. I will give you a tick for focusing on this :) $colorgreencheckmark$
          $endgroup$
          – user477343
          Mar 30 at 22:16





          $begingroup$
          Oh, wait, I thought... ok, I see. Thanks for that. I will give you a tick for focusing on this :) $colorgreencheckmark$
          $endgroup$
          – user477343
          Mar 30 at 22:16












          1












          $begingroup$

          Your friend actually did nothing, but your evaluation is incorrect as well.



          Indeed, $M_n|(i+n)(i-n)$ is equivalent to $M_n|(i+n-1)(i-n+1)$.



          But you realize this actually says nothing.



          I am curious what your friend was trying to show there.



          If it is induction, it would be the worst induction I have ever seen.



          You see the statement is about $i$, not $n$, so what you should use induction on $i$, that is , if$M_n|(i+n)(i-n)$, then $M_n|(i+1+n)(i+1-n)$( the "and" statement, as shown, is equal to this one), which leads to $2n-1|2i+1$, is a nosense



          And your friend doesn not show his base case. The base case should be $2n-1|n^2-1$, which is another nonsense, just pick $2n-1$ as any prime number.



          There is nothing valid here, he just used a very very bad inudction, that is all.






          share|cite|improve this answer











          $endgroup$












          • $begingroup$
            $(+1)$: yep, I totally agree. Too bad it's $11$:$44$pm here where I am, so my friend is in bed now, probably dreaming about this... before I let him know of his atrocious mistakes tomorrow.
            $endgroup$
            – user477343
            Mar 30 at 12:44
















          1












          $begingroup$

          Your friend actually did nothing, but your evaluation is incorrect as well.



          Indeed, $M_n|(i+n)(i-n)$ is equivalent to $M_n|(i+n-1)(i-n+1)$.



          But you realize this actually says nothing.



          I am curious what your friend was trying to show there.



          If it is induction, it would be the worst induction I have ever seen.



          You see the statement is about $i$, not $n$, so what you should use induction on $i$, that is , if$M_n|(i+n)(i-n)$, then $M_n|(i+1+n)(i+1-n)$( the "and" statement, as shown, is equal to this one), which leads to $2n-1|2i+1$, is a nosense



          And your friend doesn not show his base case. The base case should be $2n-1|n^2-1$, which is another nonsense, just pick $2n-1$ as any prime number.



          There is nothing valid here, he just used a very very bad inudction, that is all.






          share|cite|improve this answer











          $endgroup$












          • $begingroup$
            $(+1)$: yep, I totally agree. Too bad it's $11$:$44$pm here where I am, so my friend is in bed now, probably dreaming about this... before I let him know of his atrocious mistakes tomorrow.
            $endgroup$
            – user477343
            Mar 30 at 12:44














          1












          1








          1





          $begingroup$

          Your friend actually did nothing, but your evaluation is incorrect as well.



          Indeed, $M_n|(i+n)(i-n)$ is equivalent to $M_n|(i+n-1)(i-n+1)$.



          But you realize this actually says nothing.



          I am curious what your friend was trying to show there.



          If it is induction, it would be the worst induction I have ever seen.



          You see the statement is about $i$, not $n$, so what you should use induction on $i$, that is , if$M_n|(i+n)(i-n)$, then $M_n|(i+1+n)(i+1-n)$( the "and" statement, as shown, is equal to this one), which leads to $2n-1|2i+1$, is a nosense



          And your friend doesn not show his base case. The base case should be $2n-1|n^2-1$, which is another nonsense, just pick $2n-1$ as any prime number.



          There is nothing valid here, he just used a very very bad inudction, that is all.






          share|cite|improve this answer











          $endgroup$



          Your friend actually did nothing, but your evaluation is incorrect as well.



          Indeed, $M_n|(i+n)(i-n)$ is equivalent to $M_n|(i+n-1)(i-n+1)$.



          But you realize this actually says nothing.



          I am curious what your friend was trying to show there.



          If it is induction, it would be the worst induction I have ever seen.



          You see the statement is about $i$, not $n$, so what you should use induction on $i$, that is , if$M_n|(i+n)(i-n)$, then $M_n|(i+1+n)(i+1-n)$( the "and" statement, as shown, is equal to this one), which leads to $2n-1|2i+1$, is a nosense



          And your friend doesn not show his base case. The base case should be $2n-1|n^2-1$, which is another nonsense, just pick $2n-1$ as any prime number.



          There is nothing valid here, he just used a very very bad inudction, that is all.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Mar 30 at 12:52

























          answered Mar 30 at 12:41









          StAKmodStAKmod

          481111




          481111











          • $begingroup$
            $(+1)$: yep, I totally agree. Too bad it's $11$:$44$pm here where I am, so my friend is in bed now, probably dreaming about this... before I let him know of his atrocious mistakes tomorrow.
            $endgroup$
            – user477343
            Mar 30 at 12:44

















          • $begingroup$
            $(+1)$: yep, I totally agree. Too bad it's $11$:$44$pm here where I am, so my friend is in bed now, probably dreaming about this... before I let him know of his atrocious mistakes tomorrow.
            $endgroup$
            – user477343
            Mar 30 at 12:44
















          $begingroup$
          $(+1)$: yep, I totally agree. Too bad it's $11$:$44$pm here where I am, so my friend is in bed now, probably dreaming about this... before I let him know of his atrocious mistakes tomorrow.
          $endgroup$
          – user477343
          Mar 30 at 12:44





          $begingroup$
          $(+1)$: yep, I totally agree. Too bad it's $11$:$44$pm here where I am, so my friend is in bed now, probably dreaming about this... before I let him know of his atrocious mistakes tomorrow.
          $endgroup$
          – user477343
          Mar 30 at 12:44


















          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%2f3168238%2fprove-that-m-n-mid-ini-n-and-m-n-midin-1i-n1%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

          Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

          Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

          Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ