Finding integer solution to a quadratic equation in two unknowns [on hold]












1












$begingroup$



We have an equation:
$$m^2 = n^2 + m + n + 2018.$$
Find all integer pairs $(m,n)$ satisfying this equation.











share|cite|improve this question









New contributor




BIDS Salvaterra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$



put on hold as off-topic by Théophile, John Omielan, Eevee Trainer, YiFan, zz20s 21 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Théophile, John Omielan, Eevee Trainer, YiFan, zz20s

If this question can be reworded to fit the rules in the help center, please edit the question.












  • 1




    $begingroup$
    Well, if $(m,n)$ is a solutions, integer or not, what is the formula for $m$ in terms of $n$ (or vice versa)? Now which values can to be integers.
    $endgroup$
    – fleablood
    yesterday
















1












$begingroup$



We have an equation:
$$m^2 = n^2 + m + n + 2018.$$
Find all integer pairs $(m,n)$ satisfying this equation.











share|cite|improve this question









New contributor




BIDS Salvaterra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$



put on hold as off-topic by Théophile, John Omielan, Eevee Trainer, YiFan, zz20s 21 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Théophile, John Omielan, Eevee Trainer, YiFan, zz20s

If this question can be reworded to fit the rules in the help center, please edit the question.












  • 1




    $begingroup$
    Well, if $(m,n)$ is a solutions, integer or not, what is the formula for $m$ in terms of $n$ (or vice versa)? Now which values can to be integers.
    $endgroup$
    – fleablood
    yesterday














1












1








1


1



$begingroup$



We have an equation:
$$m^2 = n^2 + m + n + 2018.$$
Find all integer pairs $(m,n)$ satisfying this equation.











share|cite|improve this question









New contributor




BIDS Salvaterra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$





We have an equation:
$$m^2 = n^2 + m + n + 2018.$$
Find all integer pairs $(m,n)$ satisfying this equation.








elementary-number-theory divisibility diophantine-equations






share|cite|improve this question









New contributor




BIDS Salvaterra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




BIDS Salvaterra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited yesterday









Maria Mazur

46.4k1160118




46.4k1160118






New contributor




BIDS Salvaterra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









BIDS SalvaterraBIDS Salvaterra

121




121




New contributor




BIDS Salvaterra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





BIDS Salvaterra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






BIDS Salvaterra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as off-topic by Théophile, John Omielan, Eevee Trainer, YiFan, zz20s 21 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Théophile, John Omielan, Eevee Trainer, YiFan, zz20s

If this question can be reworded to fit the rules in the help center, please edit the question.







put on hold as off-topic by Théophile, John Omielan, Eevee Trainer, YiFan, zz20s 21 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Théophile, John Omielan, Eevee Trainer, YiFan, zz20s

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    $begingroup$
    Well, if $(m,n)$ is a solutions, integer or not, what is the formula for $m$ in terms of $n$ (or vice versa)? Now which values can to be integers.
    $endgroup$
    – fleablood
    yesterday














  • 1




    $begingroup$
    Well, if $(m,n)$ is a solutions, integer or not, what is the formula for $m$ in terms of $n$ (or vice versa)? Now which values can to be integers.
    $endgroup$
    – fleablood
    yesterday








1




1




$begingroup$
Well, if $(m,n)$ is a solutions, integer or not, what is the formula for $m$ in terms of $n$ (or vice versa)? Now which values can to be integers.
$endgroup$
– fleablood
yesterday




$begingroup$
Well, if $(m,n)$ is a solutions, integer or not, what is the formula for $m$ in terms of $n$ (or vice versa)? Now which values can to be integers.
$endgroup$
– fleablood
yesterday










3 Answers
3






active

oldest

votes


















12












$begingroup$

Hint $$ (m+n)(m-n)= (m+n)+2018$$



so $$ (m+n)(m-n-1)= 2018$$






share|cite|improve this answer









$endgroup$





















    5












    $begingroup$

    Guide: Write $m=n+k$ for some integer $k$, then $$n^2+2nk+k^2= n^2+2n+k+2018$$



    so $$ n={-k^2+k+2018over 2(k-1)}=-{kover 2}+{1009over k-1}$$



    If $k$ is odd then there is no solution, so $k= 2s$ so $$2s-1mid 1009$$



    Can you finish?






    share|cite|improve this answer









    $endgroup$





















      1












      $begingroup$

      Simpler start: separating variables to either side gives:
      $$m^2-m=n^2+n+2018$$
      which then factors roughly for the variables as:
      $$m(m-1)=n(n+1)+2018$$



      which since both pairs(m,m-1) and (n,n+1) are consecutive integers, you can divide both sides by two giving:



      $$frac{m(m-1)}{2}=frac{n(n+1)}{2}+1009$$



      But, $frac{y(y+1)}{2}$ is the form of the y-th triangular number, so the solutions are such that 1009 is the difference of two triangular numbers $T_{vert m-1 vert}$ and $T_{vert n vert}$ . Solve for n, and m-1 .






      share|cite|improve this answer











      $endgroup$




















        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        12












        $begingroup$

        Hint $$ (m+n)(m-n)= (m+n)+2018$$



        so $$ (m+n)(m-n-1)= 2018$$






        share|cite|improve this answer









        $endgroup$


















          12












          $begingroup$

          Hint $$ (m+n)(m-n)= (m+n)+2018$$



          so $$ (m+n)(m-n-1)= 2018$$






          share|cite|improve this answer









          $endgroup$
















            12












            12








            12





            $begingroup$

            Hint $$ (m+n)(m-n)= (m+n)+2018$$



            so $$ (m+n)(m-n-1)= 2018$$






            share|cite|improve this answer









            $endgroup$



            Hint $$ (m+n)(m-n)= (m+n)+2018$$



            so $$ (m+n)(m-n-1)= 2018$$







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered yesterday









            Maria MazurMaria Mazur

            46.4k1160118




            46.4k1160118























                5












                $begingroup$

                Guide: Write $m=n+k$ for some integer $k$, then $$n^2+2nk+k^2= n^2+2n+k+2018$$



                so $$ n={-k^2+k+2018over 2(k-1)}=-{kover 2}+{1009over k-1}$$



                If $k$ is odd then there is no solution, so $k= 2s$ so $$2s-1mid 1009$$



                Can you finish?






                share|cite|improve this answer









                $endgroup$


















                  5












                  $begingroup$

                  Guide: Write $m=n+k$ for some integer $k$, then $$n^2+2nk+k^2= n^2+2n+k+2018$$



                  so $$ n={-k^2+k+2018over 2(k-1)}=-{kover 2}+{1009over k-1}$$



                  If $k$ is odd then there is no solution, so $k= 2s$ so $$2s-1mid 1009$$



                  Can you finish?






                  share|cite|improve this answer









                  $endgroup$
















                    5












                    5








                    5





                    $begingroup$

                    Guide: Write $m=n+k$ for some integer $k$, then $$n^2+2nk+k^2= n^2+2n+k+2018$$



                    so $$ n={-k^2+k+2018over 2(k-1)}=-{kover 2}+{1009over k-1}$$



                    If $k$ is odd then there is no solution, so $k= 2s$ so $$2s-1mid 1009$$



                    Can you finish?






                    share|cite|improve this answer









                    $endgroup$



                    Guide: Write $m=n+k$ for some integer $k$, then $$n^2+2nk+k^2= n^2+2n+k+2018$$



                    so $$ n={-k^2+k+2018over 2(k-1)}=-{kover 2}+{1009over k-1}$$



                    If $k$ is odd then there is no solution, so $k= 2s$ so $$2s-1mid 1009$$



                    Can you finish?







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered yesterday









                    Maria MazurMaria Mazur

                    46.4k1160118




                    46.4k1160118























                        1












                        $begingroup$

                        Simpler start: separating variables to either side gives:
                        $$m^2-m=n^2+n+2018$$
                        which then factors roughly for the variables as:
                        $$m(m-1)=n(n+1)+2018$$



                        which since both pairs(m,m-1) and (n,n+1) are consecutive integers, you can divide both sides by two giving:



                        $$frac{m(m-1)}{2}=frac{n(n+1)}{2}+1009$$



                        But, $frac{y(y+1)}{2}$ is the form of the y-th triangular number, so the solutions are such that 1009 is the difference of two triangular numbers $T_{vert m-1 vert}$ and $T_{vert n vert}$ . Solve for n, and m-1 .






                        share|cite|improve this answer











                        $endgroup$


















                          1












                          $begingroup$

                          Simpler start: separating variables to either side gives:
                          $$m^2-m=n^2+n+2018$$
                          which then factors roughly for the variables as:
                          $$m(m-1)=n(n+1)+2018$$



                          which since both pairs(m,m-1) and (n,n+1) are consecutive integers, you can divide both sides by two giving:



                          $$frac{m(m-1)}{2}=frac{n(n+1)}{2}+1009$$



                          But, $frac{y(y+1)}{2}$ is the form of the y-th triangular number, so the solutions are such that 1009 is the difference of two triangular numbers $T_{vert m-1 vert}$ and $T_{vert n vert}$ . Solve for n, and m-1 .






                          share|cite|improve this answer











                          $endgroup$
















                            1












                            1








                            1





                            $begingroup$

                            Simpler start: separating variables to either side gives:
                            $$m^2-m=n^2+n+2018$$
                            which then factors roughly for the variables as:
                            $$m(m-1)=n(n+1)+2018$$



                            which since both pairs(m,m-1) and (n,n+1) are consecutive integers, you can divide both sides by two giving:



                            $$frac{m(m-1)}{2}=frac{n(n+1)}{2}+1009$$



                            But, $frac{y(y+1)}{2}$ is the form of the y-th triangular number, so the solutions are such that 1009 is the difference of two triangular numbers $T_{vert m-1 vert}$ and $T_{vert n vert}$ . Solve for n, and m-1 .






                            share|cite|improve this answer











                            $endgroup$



                            Simpler start: separating variables to either side gives:
                            $$m^2-m=n^2+n+2018$$
                            which then factors roughly for the variables as:
                            $$m(m-1)=n(n+1)+2018$$



                            which since both pairs(m,m-1) and (n,n+1) are consecutive integers, you can divide both sides by two giving:



                            $$frac{m(m-1)}{2}=frac{n(n+1)}{2}+1009$$



                            But, $frac{y(y+1)}{2}$ is the form of the y-th triangular number, so the solutions are such that 1009 is the difference of two triangular numbers $T_{vert m-1 vert}$ and $T_{vert n vert}$ . Solve for n, and m-1 .







                            share|cite|improve this answer














                            share|cite|improve this answer



                            share|cite|improve this answer








                            edited 21 hours ago

























                            answered yesterday









                            Roddy MacPheeRoddy MacPhee

                            26014




                            26014















                                Popular posts from this blog

                                Callistus I

                                Tabula Rosettana

                                How to label and detect the document text images