Differences between numbers of the form abcdef and acdef which are perfect square.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












$541456-51456=700^2$ is the example I found. Are there other examples of numbers of the form abcdef such that abcdef-acdef is a perfect square?










share|cite|improve this question







New contributor




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























    up vote
    2
    down vote

    favorite












    $541456-51456=700^2$ is the example I found. Are there other examples of numbers of the form abcdef such that abcdef-acdef is a perfect square?










    share|cite|improve this question







    New contributor




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





















      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      $541456-51456=700^2$ is the example I found. Are there other examples of numbers of the form abcdef such that abcdef-acdef is a perfect square?










      share|cite|improve this question







      New contributor




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











      $541456-51456=700^2$ is the example I found. Are there other examples of numbers of the form abcdef such that abcdef-acdef is a perfect square?







      number-theory






      share|cite|improve this question







      New contributor




      homunculus 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




      homunculus 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






      New contributor




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









      asked 14 hours ago









      homunculus

      393




      393




      New contributor




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





      New contributor





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






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




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          4
          down vote













          $$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$



          So, all we need is $9a+b$ to be perfect square






          share|cite|improve this answer



























            up vote
            1
            down vote













            Of course,
            $$
            beginaligned
            overlineabcdef - overlineacdef
            &=
            overlineab0000 - overlinea0000
            \
            &=10000cdot(overlineab - overlinea)
            \
            &=100^2cdot(9a+b) .
            endaligned
            $$

            So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:



            for a in [1..9]:
            for b in [0..9]:
            ab_a = 9*a + b
            if ab_a.is_square():
            print ( "a=%s b=%s %s-%s = %s^2"
            % (a, b, 10*a+b, a, sqrt(ab_a)) )


            And the results are:



            a=1 b=0 10-1 = 3^2
            a=1 b=7 17-1 = 4^2
            a=2 b=7 27-2 = 5^2
            a=3 b=9 39-3 = 6^2
            a=4 b=0 40-4 = 6^2
            a=5 b=4 54-5 = 7^2
            a=7 b=1 71-7 = 8^2
            a=8 b=9 89-8 = 9^2
            a=9 b=0 90-9 = 9^2


            Here i was using sage.






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



              );






              homunculus 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%2f2995156%2fdifferences-between-numbers-of-the-form-abcdef-and-acdef-which-are-perfect-squar%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              4
              down vote













              $$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$



              So, all we need is $9a+b$ to be perfect square






              share|cite|improve this answer
























                up vote
                4
                down vote













                $$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$



                So, all we need is $9a+b$ to be perfect square






                share|cite|improve this answer






















                  up vote
                  4
                  down vote










                  up vote
                  4
                  down vote









                  $$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$



                  So, all we need is $9a+b$ to be perfect square






                  share|cite|improve this answer












                  $$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$



                  So, all we need is $9a+b$ to be perfect square







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 14 hours ago









                  lab bhattacharjee

                  219k14153268




                  219k14153268




















                      up vote
                      1
                      down vote













                      Of course,
                      $$
                      beginaligned
                      overlineabcdef - overlineacdef
                      &=
                      overlineab0000 - overlinea0000
                      \
                      &=10000cdot(overlineab - overlinea)
                      \
                      &=100^2cdot(9a+b) .
                      endaligned
                      $$

                      So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:



                      for a in [1..9]:
                      for b in [0..9]:
                      ab_a = 9*a + b
                      if ab_a.is_square():
                      print ( "a=%s b=%s %s-%s = %s^2"
                      % (a, b, 10*a+b, a, sqrt(ab_a)) )


                      And the results are:



                      a=1 b=0 10-1 = 3^2
                      a=1 b=7 17-1 = 4^2
                      a=2 b=7 27-2 = 5^2
                      a=3 b=9 39-3 = 6^2
                      a=4 b=0 40-4 = 6^2
                      a=5 b=4 54-5 = 7^2
                      a=7 b=1 71-7 = 8^2
                      a=8 b=9 89-8 = 9^2
                      a=9 b=0 90-9 = 9^2


                      Here i was using sage.






                      share|cite|improve this answer
























                        up vote
                        1
                        down vote













                        Of course,
                        $$
                        beginaligned
                        overlineabcdef - overlineacdef
                        &=
                        overlineab0000 - overlinea0000
                        \
                        &=10000cdot(overlineab - overlinea)
                        \
                        &=100^2cdot(9a+b) .
                        endaligned
                        $$

                        So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:



                        for a in [1..9]:
                        for b in [0..9]:
                        ab_a = 9*a + b
                        if ab_a.is_square():
                        print ( "a=%s b=%s %s-%s = %s^2"
                        % (a, b, 10*a+b, a, sqrt(ab_a)) )


                        And the results are:



                        a=1 b=0 10-1 = 3^2
                        a=1 b=7 17-1 = 4^2
                        a=2 b=7 27-2 = 5^2
                        a=3 b=9 39-3 = 6^2
                        a=4 b=0 40-4 = 6^2
                        a=5 b=4 54-5 = 7^2
                        a=7 b=1 71-7 = 8^2
                        a=8 b=9 89-8 = 9^2
                        a=9 b=0 90-9 = 9^2


                        Here i was using sage.






                        share|cite|improve this answer






















                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          Of course,
                          $$
                          beginaligned
                          overlineabcdef - overlineacdef
                          &=
                          overlineab0000 - overlinea0000
                          \
                          &=10000cdot(overlineab - overlinea)
                          \
                          &=100^2cdot(9a+b) .
                          endaligned
                          $$

                          So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:



                          for a in [1..9]:
                          for b in [0..9]:
                          ab_a = 9*a + b
                          if ab_a.is_square():
                          print ( "a=%s b=%s %s-%s = %s^2"
                          % (a, b, 10*a+b, a, sqrt(ab_a)) )


                          And the results are:



                          a=1 b=0 10-1 = 3^2
                          a=1 b=7 17-1 = 4^2
                          a=2 b=7 27-2 = 5^2
                          a=3 b=9 39-3 = 6^2
                          a=4 b=0 40-4 = 6^2
                          a=5 b=4 54-5 = 7^2
                          a=7 b=1 71-7 = 8^2
                          a=8 b=9 89-8 = 9^2
                          a=9 b=0 90-9 = 9^2


                          Here i was using sage.






                          share|cite|improve this answer












                          Of course,
                          $$
                          beginaligned
                          overlineabcdef - overlineacdef
                          &=
                          overlineab0000 - overlinea0000
                          \
                          &=10000cdot(overlineab - overlinea)
                          \
                          &=100^2cdot(9a+b) .
                          endaligned
                          $$

                          So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:



                          for a in [1..9]:
                          for b in [0..9]:
                          ab_a = 9*a + b
                          if ab_a.is_square():
                          print ( "a=%s b=%s %s-%s = %s^2"
                          % (a, b, 10*a+b, a, sqrt(ab_a)) )


                          And the results are:



                          a=1 b=0 10-1 = 3^2
                          a=1 b=7 17-1 = 4^2
                          a=2 b=7 27-2 = 5^2
                          a=3 b=9 39-3 = 6^2
                          a=4 b=0 40-4 = 6^2
                          a=5 b=4 54-5 = 7^2
                          a=7 b=1 71-7 = 8^2
                          a=8 b=9 89-8 = 9^2
                          a=9 b=0 90-9 = 9^2


                          Here i was using sage.







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered 14 hours ago









                          dan_fulea

                          5,7251312




                          5,7251312




















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









                               

                              draft saved


                              draft discarded


















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












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











                              homunculus 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%2f2995156%2fdifferences-between-numbers-of-the-form-abcdef-and-acdef-which-are-perfect-squar%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How to check contact read email or not when send email to Individual?

                              Bahrain

                              Postfix configuration issue with fips on centos 7; mailgun relay