Find all integer solutions of $3(m^2 + n^2) - 7(m+n) = -4$.












1














The solution and further information about how to solve this type of equation about how to solve this type of lattice point and circles will be much appreciated. Thanks in advance.










share|cite|improve this question


















  • 2




    Multiply both sides by $12$ and then complete squares.
    – saulspatz
    yesterday
















1














The solution and further information about how to solve this type of equation about how to solve this type of lattice point and circles will be much appreciated. Thanks in advance.










share|cite|improve this question


















  • 2




    Multiply both sides by $12$ and then complete squares.
    – saulspatz
    yesterday














1












1








1







The solution and further information about how to solve this type of equation about how to solve this type of lattice point and circles will be much appreciated. Thanks in advance.










share|cite|improve this question













The solution and further information about how to solve this type of equation about how to solve this type of lattice point and circles will be much appreciated. Thanks in advance.







circle diophantine-equations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked yesterday









Shafin Ahmed

345




345








  • 2




    Multiply both sides by $12$ and then complete squares.
    – saulspatz
    yesterday














  • 2




    Multiply both sides by $12$ and then complete squares.
    – saulspatz
    yesterday








2




2




Multiply both sides by $12$ and then complete squares.
– saulspatz
yesterday




Multiply both sides by $12$ and then complete squares.
– saulspatz
yesterday










3 Answers
3






active

oldest

votes


















1














First, expand the equation and bring the $-4$ to the other side.



$$3m^2+3n^2-7m-7n+4 = 0$$



To solve for $m$, you can rearrange the LHS:



$$3m^2-7m+left(3n^2-7n+4right) = 0$$



By the Quadratic Formula,



$$m = frac{-(-7)pmsqrt{(-7)^2-4(3)left(3n^2-7n+4right)}}{2(3)}$$



$$m = frac{7pmsqrt{1-36n^2+84n}}{6}$$



You want the discriminant to be a perfect square:



$$1-36n^2+84n = t^2$$



and



$$1-36n^2+84n geq 0$$






share|cite|improve this answer





























    1














    Hint:



    $$3m^2-7m+3n^2-7n+4=0$$



    What is the discriminant of the quadratic equation in $m$






    share|cite|improve this answer





























      1














      Following the comment by @saulspatz, we get
      $$
      (6m-7)^2+(6n-7)^2=50
      $$

      So, we have to solve $a^2+b^2=50$ with $a equiv b equiv -7 bmod 6$.



      The solutions are
      $$
      begin{array}{cccc}
      a & b & m & n \
      -7 & -1 & 0 & 1 \
      -1 & -7 & 1 & 0 \
      5 & 5 & 2 & 2 \
      end{array}
      $$

      These were found by brute force. For numbers larger than $50$, consider its prime factorization and use the Brahmagupta–Fibonacci identity.






      share|cite|improve this answer





















        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%2f3061856%2ffind-all-integer-solutions-of-3m2-n2-7mn-4%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









        1














        First, expand the equation and bring the $-4$ to the other side.



        $$3m^2+3n^2-7m-7n+4 = 0$$



        To solve for $m$, you can rearrange the LHS:



        $$3m^2-7m+left(3n^2-7n+4right) = 0$$



        By the Quadratic Formula,



        $$m = frac{-(-7)pmsqrt{(-7)^2-4(3)left(3n^2-7n+4right)}}{2(3)}$$



        $$m = frac{7pmsqrt{1-36n^2+84n}}{6}$$



        You want the discriminant to be a perfect square:



        $$1-36n^2+84n = t^2$$



        and



        $$1-36n^2+84n geq 0$$






        share|cite|improve this answer


























          1














          First, expand the equation and bring the $-4$ to the other side.



          $$3m^2+3n^2-7m-7n+4 = 0$$



          To solve for $m$, you can rearrange the LHS:



          $$3m^2-7m+left(3n^2-7n+4right) = 0$$



          By the Quadratic Formula,



          $$m = frac{-(-7)pmsqrt{(-7)^2-4(3)left(3n^2-7n+4right)}}{2(3)}$$



          $$m = frac{7pmsqrt{1-36n^2+84n}}{6}$$



          You want the discriminant to be a perfect square:



          $$1-36n^2+84n = t^2$$



          and



          $$1-36n^2+84n geq 0$$






          share|cite|improve this answer
























            1












            1








            1






            First, expand the equation and bring the $-4$ to the other side.



            $$3m^2+3n^2-7m-7n+4 = 0$$



            To solve for $m$, you can rearrange the LHS:



            $$3m^2-7m+left(3n^2-7n+4right) = 0$$



            By the Quadratic Formula,



            $$m = frac{-(-7)pmsqrt{(-7)^2-4(3)left(3n^2-7n+4right)}}{2(3)}$$



            $$m = frac{7pmsqrt{1-36n^2+84n}}{6}$$



            You want the discriminant to be a perfect square:



            $$1-36n^2+84n = t^2$$



            and



            $$1-36n^2+84n geq 0$$






            share|cite|improve this answer












            First, expand the equation and bring the $-4$ to the other side.



            $$3m^2+3n^2-7m-7n+4 = 0$$



            To solve for $m$, you can rearrange the LHS:



            $$3m^2-7m+left(3n^2-7n+4right) = 0$$



            By the Quadratic Formula,



            $$m = frac{-(-7)pmsqrt{(-7)^2-4(3)left(3n^2-7n+4right)}}{2(3)}$$



            $$m = frac{7pmsqrt{1-36n^2+84n}}{6}$$



            You want the discriminant to be a perfect square:



            $$1-36n^2+84n = t^2$$



            and



            $$1-36n^2+84n geq 0$$







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered yesterday









            KM101

            5,3111423




            5,3111423























                1














                Hint:



                $$3m^2-7m+3n^2-7n+4=0$$



                What is the discriminant of the quadratic equation in $m$






                share|cite|improve this answer


























                  1














                  Hint:



                  $$3m^2-7m+3n^2-7n+4=0$$



                  What is the discriminant of the quadratic equation in $m$






                  share|cite|improve this answer
























                    1












                    1








                    1






                    Hint:



                    $$3m^2-7m+3n^2-7n+4=0$$



                    What is the discriminant of the quadratic equation in $m$






                    share|cite|improve this answer












                    Hint:



                    $$3m^2-7m+3n^2-7n+4=0$$



                    What is the discriminant of the quadratic equation in $m$







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered yesterday









                    lab bhattacharjee

                    223k15156274




                    223k15156274























                        1














                        Following the comment by @saulspatz, we get
                        $$
                        (6m-7)^2+(6n-7)^2=50
                        $$

                        So, we have to solve $a^2+b^2=50$ with $a equiv b equiv -7 bmod 6$.



                        The solutions are
                        $$
                        begin{array}{cccc}
                        a & b & m & n \
                        -7 & -1 & 0 & 1 \
                        -1 & -7 & 1 & 0 \
                        5 & 5 & 2 & 2 \
                        end{array}
                        $$

                        These were found by brute force. For numbers larger than $50$, consider its prime factorization and use the Brahmagupta–Fibonacci identity.






                        share|cite|improve this answer


























                          1














                          Following the comment by @saulspatz, we get
                          $$
                          (6m-7)^2+(6n-7)^2=50
                          $$

                          So, we have to solve $a^2+b^2=50$ with $a equiv b equiv -7 bmod 6$.



                          The solutions are
                          $$
                          begin{array}{cccc}
                          a & b & m & n \
                          -7 & -1 & 0 & 1 \
                          -1 & -7 & 1 & 0 \
                          5 & 5 & 2 & 2 \
                          end{array}
                          $$

                          These were found by brute force. For numbers larger than $50$, consider its prime factorization and use the Brahmagupta–Fibonacci identity.






                          share|cite|improve this answer
























                            1












                            1








                            1






                            Following the comment by @saulspatz, we get
                            $$
                            (6m-7)^2+(6n-7)^2=50
                            $$

                            So, we have to solve $a^2+b^2=50$ with $a equiv b equiv -7 bmod 6$.



                            The solutions are
                            $$
                            begin{array}{cccc}
                            a & b & m & n \
                            -7 & -1 & 0 & 1 \
                            -1 & -7 & 1 & 0 \
                            5 & 5 & 2 & 2 \
                            end{array}
                            $$

                            These were found by brute force. For numbers larger than $50$, consider its prime factorization and use the Brahmagupta–Fibonacci identity.






                            share|cite|improve this answer












                            Following the comment by @saulspatz, we get
                            $$
                            (6m-7)^2+(6n-7)^2=50
                            $$

                            So, we have to solve $a^2+b^2=50$ with $a equiv b equiv -7 bmod 6$.



                            The solutions are
                            $$
                            begin{array}{cccc}
                            a & b & m & n \
                            -7 & -1 & 0 & 1 \
                            -1 & -7 & 1 & 0 \
                            5 & 5 & 2 & 2 \
                            end{array}
                            $$

                            These were found by brute force. For numbers larger than $50$, consider its prime factorization and use the Brahmagupta–Fibonacci identity.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered yesterday









                            lhf

                            163k10167387




                            163k10167387






























                                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.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • 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.


                                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%2f3061856%2ffind-all-integer-solutions-of-3m2-n2-7mn-4%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

                                Mario Kart Wii

                                What does “Dominus providebit” mean?

                                Antonio Litta Visconti Arese