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

                                Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

                                Posting a File and Associated Data to a RESTful WebService preferably as JSON2019 Community Moderator ElectionREST URI convention - Singular or plural name of resource while creating itUploading both data and files in one form using Ajax?How do I upload a file with metadata using a REST web service?REST API - file (ie images) processing - best practicesSpring: JSON data and file in the same requestREST API Put large dataPosting a file and JSON data to Spring rest serviceRESTful Web Service Upload/Download Large Data With JSONREST API Design sending JSON data and a file to the api in same requestPost JSONArray to REST servicePUT vs. POST in RESTParsing values from a JSON file?JavaScript/jQuery to download file via POST with JSON dataHow do I upload a file with metadata using a REST web service?How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST?Separate REST JSON API server and client?what's the correct way to send a file from REST web service to client?How do I write JSON data to a file?What is “406-Not Acceptable Response” in HTTP?REST API - file (ie images) processing - best practices

                                How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page