Finding integer solution to a quadratic equation in two unknowns [closed]How do I solve a linear Diophantine equation with three unknowns?Linear Diophantine equation - Find all integer solutionsDiophantine equation has at least $k$ positive integer solutionsIs there any solution to this quadratic Diophantine equation?Finding integer solution of congruence equationIs there any solution to this quadratic Diophantine 3 variables equation?Integer solution to linear equationHelp finding integer solutions of equation.When can we solve a diophantine equation with degree $2$ in $3$ unknowns completely?Solve Quadratic diophantine equation in two unknowns.

Can compressed videos be decoded back to their uncompresed original format?

What do you call someone who asks many questions?

Is this answer explanation correct?

Is there a hemisphere-neutral way of specifying a season?

Why do I get negative height?

Knowledge-based authentication using Domain-driven Design in C#

Why would the Red Woman birth a shadow if she worshipped the Lord of the Light?

How to prevent "they're falling in love" trope

What is a Samsaran Word™?

Theorists sure want true answers to this!

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Is it a bad idea to plug the other end of ESD strap to wall ground?

Can someone clarify Hamming's notion of important problems in relation to modern academia?

What Exploit Are These User Agents Trying to Use?

Why were 5.25" floppy drives cheaper than 8"?

How to show a landlord what we have in savings?

How to stretch the corners of this image so that it looks like a perfect rectangle?

Why was the shrink from 8″ made only to 5.25″ and not smaller (4″ or less)

Notepad++ delete until colon for every line with replace all

How obscure is the use of 令 in 令和?

Processor speed limited at 0.4 Ghz

How seriously should I take size and weight limits of hand luggage?

Can a virus destroy the BIOS of a modern computer?

Ambiguity in the definition of entropy



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


How do I solve a linear Diophantine equation with three unknowns?Linear Diophantine equation - Find all integer solutionsDiophantine equation has at least $k$ positive integer solutionsIs there any solution to this quadratic Diophantine equation?Finding integer solution of congruence equationIs there any solution to this quadratic Diophantine 3 variables equation?Integer solution to linear equationHelp finding integer solutions of equation.When can we solve a diophantine equation with degree $2$ in $3$ unknowns completely?Solve Quadratic diophantine equation in two unknowns.













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











$endgroup$



closed as off-topic by Théophile, John Omielan, Eevee Trainer, YiFan, zz20s Mar 9 at 0:39


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
    Mar 8 at 16:38















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











$endgroup$



closed as off-topic by Théophile, John Omielan, Eevee Trainer, YiFan, zz20s Mar 9 at 0:39


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
    Mar 8 at 16:38













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











$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















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 8 at 18:03









Maria Mazur

49.5k1361124




49.5k1361124










asked Mar 8 at 16:25









BIDS SalvaterraBIDS Salvaterra

121




121




closed as off-topic by Théophile, John Omielan, Eevee Trainer, YiFan, zz20s Mar 9 at 0:39


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.







closed as off-topic by Théophile, John Omielan, Eevee Trainer, YiFan, zz20s Mar 9 at 0:39


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
    Mar 8 at 16:38












  • 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
    Mar 8 at 16:38







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
Mar 8 at 16:38




$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
Mar 8 at 16:38










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$




















    4












    $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:



      $$fracm(m-1)2=fracn(n+1)2+1009$$



      But, $fracy(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 Mar 8 at 16:27









            Maria MazurMaria Mazur

            49.5k1361124




            49.5k1361124





















                4












                $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$

















                  4












                  $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$















                    4












                    4








                    4





                    $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 Mar 8 at 16:37









                    Maria MazurMaria Mazur

                    49.5k1361124




                    49.5k1361124





















                        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:



                        $$fracm(m-1)2=fracn(n+1)2+1009$$



                        But, $fracy(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:



                          $$fracm(m-1)2=fracn(n+1)2+1009$$



                          But, $fracy(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:



                            $$fracm(m-1)2=fracn(n+1)2+1009$$



                            But, $fracy(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:



                            $$fracm(m-1)2=fracn(n+1)2+1009$$



                            But, $fracy(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 Mar 9 at 0:14

























                            answered Mar 8 at 18:41









                            Roddy MacPheeRoddy MacPhee

                            633118




                            633118













                                Popular posts from this blog

                                Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

                                2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

                                Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme