Finding integer solution to a quadratic equation in two unknownsHow 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.

How would an energy-based "projectile" blow up a spaceship?

Book where society has been split into 2 with a wall down the middle where one side embraced high tech whereas other side were totally against tech

Is there a math expression equivalent to the conditional ternary operator?

Geological Explanation for an Unusually Temperate Northern Mountain Valley

What is the best index strategy or query SELECT when performing a search/lookup BETWEEN IP address (IPv4 and IPv6) ranges?

Trigger on Custom Object Share

Is the differential, dp, exact or not?

How spaceships determine each other's mass in space?

Why do we call complex numbers “numbers” but we don’t consider 2-vectors numbers?

Is this Paypal Github SDK reference really a dangerous site?

Vector-transposing function

Paper published similar to PhD thesis

How do I align tablenotes in a threeparttable

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

If nine coins are tossed, what is the probability that the number of heads is even?

Can inspiration allow the Rogue to make a Sneak Attack?

Short story about cities being connected by a conveyor belt

PTIJ: Sport in the Torah

Use Mercury as quenching liquid for swords?

Should we avoid writing fiction about historical events without extensive research?

EXM headers adding bounce@spe.sitecoremail.com as the sender

How to add theme from github with composer

A vote on the Brexit backstop

How do property taxes on school district bonds work?



Finding integer solution to a quadratic equation in two unknowns


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.













2












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







  • 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
    7 hours ago















2












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







  • 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
    7 hours ago













2












2








2


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 6 hours ago









greedoid

46.3k1160118




46.3k1160118






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 7 hours ago









BIDS SalvaterraBIDS Salvaterra

141




141




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.







  • 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
    7 hours ago












  • 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
    7 hours ago







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
7 hours ago




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










3 Answers
3






active

oldest

votes


















11












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



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












        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
        );



        );






        BIDS Salvaterra is a new contributor. Be nice, and check out our Code of Conduct.









        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3140268%2ffinding-integer-solution-to-a-quadratic-equation-in-two-unknowns%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        11












        $begingroup$

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



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






        share|cite|improve this answer









        $endgroup$

















          11












          $begingroup$

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



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






          share|cite|improve this answer









          $endgroup$















            11












            11








            11





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









            greedoidgreedoid

            46.3k1160118




            46.3k1160118





















                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 7 hours ago









                    greedoidgreedoid

                    46.3k1160118




                    46.3k1160118





















                        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










                            answered 5 hours ago









                            Roddy MacPheeRoddy MacPhee

                            24414




                            24414




















                                BIDS Salvaterra is a new contributor. Be nice, and check out our Code of Conduct.









                                draft saved

                                draft discarded


















                                BIDS Salvaterra is a new contributor. Be nice, and check out our Code of Conduct.












                                BIDS Salvaterra is a new contributor. Be nice, and check out our Code of Conduct.











                                BIDS Salvaterra is a new contributor. Be nice, and check out our Code of Conduct.














                                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%2f3140268%2ffinding-integer-solution-to-a-quadratic-equation-in-two-unknowns%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

                                Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

                                Join wedge with single bond in chemfigHow to make only one part of double bond bold with chemfig?Crossing bonds in chemfigjoining atoms in chemfig. Two adjacent molculesHow do I selectively change bond length in chemfig?Ugly bond joints in chemfigchemfig: reaction above arrowUsing the mhchem and chemfig packages in conjunctionBonding to specific element letter using chemfigResonance hybrids in chemfigScale chemfig molecule in beamer with tikzWhy does this chemfig bond with a hook start in the middle of the atom?

                                Should we avoid writing fiction about historical events without extensive research?How do we write a story about genocide committed by a fascist government without falling into the “Nazi Germany” cliché?Researching sensitive subjectsShould I avoid “lecturing” my readers?Archetypical/popular historical fictionHow to write a “strong” passage?Will what worked 'back then' work today? (Novels)Historical Fiction: using you and thouHow do you make characters relatable if they exist in a completely different moral context?How do I write a MODERN combat/violence scene without being dry?Fictionizing firsthand accounts from history?Is it possible to narrate a novel in a faux-historical style without alienating the reader?