A pattern within the differences of pythagorean triples?How to descend within the “Tree of primitive Pythagorean triples”?Proof for interesting pattern in Pythagorean triples?Pythagorean triplesPythagorean Triples $modc$Proof about Pythagorean triplesFast Way to Find Pythagorean DecompositionsProviding an explanation for trend found in numbers and divisibility.Generating Pythagorean triplesLooking for references to Pythagorean triple subsets

What does 36.000€ mean?

A single word for "not allowed to be changed" or "must be this way"

Is 4.5 hours between flights enough time to get from LHR to LGW?

In Germany, why does the burden of proof fall on authorities rather than the company or individual when it comes to possible illegal funds?

What is this sign with red triangle and black bottom up "T" on cars in Lithuania?

How much tech advancement could be made out of modern processor appearing in 1980s?

Why is dwarfism considered an advantage for jobs in space?

Is gaining 1 AC in exchange for disadvantage on Perception checks a balanced trade?

Does using a less common opening make you a stronger player?

"Applicants for asylum must prove that they have fifteen family members in the Netherlands."

Why are green parties so often opposed to nuclear power?

Professor Pun's Personal Project

What should I do about a new employee who didn't mention their second job or planned leave?

What's the best way to keep cover of a pan slightly opened?

Is it safe to drive from Prague to Salzburg during winter?

How to find files in a given sector?

Is it possible to stall a plane so badly that the nose refuses to go down due to lack of airspeed?

Want to published unpublished work found in an auction storage unit

Mostly One Way Travel : Says Grandpa

What is the difference between scissors and shears?

Why do right-wing parties generally oppose the legalization of marijuana?

Is Irish buttermilk different

What is the purpose of the rules in counterpoint composition?

Why did Oliver Cromwell ban Christmas in 1644?



A pattern within the differences of pythagorean triples?


How to descend within the “Tree of primitive Pythagorean triples”?Proof for interesting pattern in Pythagorean triples?Pythagorean triplesPythagorean Triples $modc$Proof about Pythagorean triplesFast Way to Find Pythagorean DecompositionsProviding an explanation for trend found in numbers and divisibility.Generating Pythagorean triplesLooking for references to Pythagorean triple subsets






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;

.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;








4















$begingroup$


Looking at some of the more common pythagorean triples, I noticed a trend that there are usually two numbers which differ by only one or two, with more much smaller or larger number in comparison. For example:



$$5,12,13$$
$$8,15,17$$
$$7,24,25$$
$$20,21,29$$
$$12,35,37$$
$$9,40,41$$
and so on...



I was wondering whether there is some deeper algebraic or geometric reason for this, or whether it is just a coincidence with the numbers I have chosen?










share|cite|improve this question











$endgroup$





















    4















    $begingroup$


    Looking at some of the more common pythagorean triples, I noticed a trend that there are usually two numbers which differ by only one or two, with more much smaller or larger number in comparison. For example:



    $$5,12,13$$
    $$8,15,17$$
    $$7,24,25$$
    $$20,21,29$$
    $$12,35,37$$
    $$9,40,41$$
    and so on...



    I was wondering whether there is some deeper algebraic or geometric reason for this, or whether it is just a coincidence with the numbers I have chosen?










    share|cite|improve this question











    $endgroup$

















      4













      4









      4


      1



      $begingroup$


      Looking at some of the more common pythagorean triples, I noticed a trend that there are usually two numbers which differ by only one or two, with more much smaller or larger number in comparison. For example:



      $$5,12,13$$
      $$8,15,17$$
      $$7,24,25$$
      $$20,21,29$$
      $$12,35,37$$
      $$9,40,41$$
      and so on...



      I was wondering whether there is some deeper algebraic or geometric reason for this, or whether it is just a coincidence with the numbers I have chosen?










      share|cite|improve this question











      $endgroup$




      Looking at some of the more common pythagorean triples, I noticed a trend that there are usually two numbers which differ by only one or two, with more much smaller or larger number in comparison. For example:



      $$5,12,13$$
      $$8,15,17$$
      $$7,24,25$$
      $$20,21,29$$
      $$12,35,37$$
      $$9,40,41$$
      and so on...



      I was wondering whether there is some deeper algebraic or geometric reason for this, or whether it is just a coincidence with the numbers I have chosen?







      elementary-number-theory pythagorean-triples






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Sep 27 at 21:14









      José Carlos Santos

      234k27 gold badges175 silver badges306 bronze badges




      234k27 gold badges175 silver badges306 bronze badges










      asked Sep 27 at 20:31









      JamminermitJamminermit

      1,1731 silver badge13 bronze badges




      1,1731 silver badge13 bronze badges























          5 Answers
          5






          active

          oldest

          votes


















          6

















          $begingroup$

          This comes from the fact that, when $n$ is odd$$left(n,fracn^2-12,fracn^2+12right)$$is a pythagorean triple and, when $n$ is even,$$left(n,left(frac n2right)^2-1,left(frac n2right)^2+1right)$$is a pythagorean triple too. In the first case, the second and the third numbers differ by $1$ and, in the second case, they differ by $2$.






          share|cite|improve this answer










          $endgroup$













          • $begingroup$
            I just verified these results myself, but I was wondering where these come from. Is this just a common fact, if so do you have a link to its proof?
            $endgroup$
            – Jamminermit
            Oct 2 at 18:57










          • $begingroup$
            You just use the fact thatbeginalignn^2+left(fracn^2-12right)^2&=n^2+fracn^4-2n^2+14\&=fracn^4+2n^2+14\&=left(fracn^2+12right)^2.endalignThe other one is similar. These are very old formulas, which were probably already know by the phytaghoreans.
            $endgroup$
            – José Carlos Santos
            Oct 2 at 20:14



















          4

















          $begingroup$

          A primitive Pythagorean triple is of the form $$m^2-n^2, 2mn, m^2+n^2$$ where $mgt n$, $m,n$ have no common prime factor and one of $m,n$ is even.



          If $n=1$ you automatically have two numbers which differ by $2$. If $m=n+r$ then you have $2n^2+2nr$ and $2n^2+2nr+r^2$ so if $m-n=1$ you automatically have sides which differ by $1$.



          Now look at the first few possible pairs for $m,n$



          We have $2,1$ giving $3,4,5$
          Then $3,2$ giving $5,12,13$
          And $4,1$ with $15, 8, 17$
          And $4,3$ with $7, 24, 25$
          And $5,2$ with $21, 20, 29$
          etc



          This last is not one of the ones I caught, but the closeness here is essentially because the numbers $m$ and $n$ are small.



          As numbers get larger, cases like $10,7$ giving $51, 140, 149$;



          or $10,3$ leading to $91, 60, 109$ become more typical.






          share|cite|improve this answer










          $endgroup$





















            2

















            $begingroup$

            All pythagorean triples are given by



            $$a = m^2 - n^2 , , b = 2mn , , c = m^2 + n^2 $$



            for any pair $m>n>0$.



            In order to have a small $a$ we can set $m=n+k$ with $k$ small and therefore



            • $b=2n^2+2nk$

            • $c=2n^2+2nk+k^2$

            therefore



            $$b-c=k^2$$



            which tends to be relatively "small".






            share|cite|improve this answer










            $endgroup$





















              1

















              $begingroup$

              If you want for example that $$c=b+1$$



              you choose $a$ such that



              $$a^2=2b+1=(2k+1)^2$$



              or
              $$b=2k^2+2k$$
              for $k=3$ you get
              $$b=24 , a=7 text and c=25$$






              share|cite|improve this answer












              $endgroup$













              • $begingroup$
                The question is about small difference, not large ones.
                $endgroup$
                – José Carlos Santos
                Sep 27 at 20:43










              • $begingroup$
                @JoséCarlosSantos I understood he said that there is always a difference equal to one or two.
                $endgroup$
                – hamam_Abdallah
                Sep 27 at 20:45






              • 1




                $begingroup$
                The OP wrote “I noticed a trend that there are usually two numbers which differ by only one or two”. Where did you see a “always” here?
                $endgroup$
                – José Carlos Santos
                Sep 27 at 20:47










              • $begingroup$
                I have already deleted posts using a mobile. Not from the StackExchange app, but using a web browser.
                $endgroup$
                – José Carlos Santos
                Sep 27 at 20:55


















              0

















              $begingroup$

              The well-known Euclid's formula is $A=m^2-n^2quad B=2mnquad C=m^2+n^2$ and generates trivial triples, all primitives, doubles and square multiples of primitives but in a seemingly random pattern. A variation replaces $(m,n)$ with $(2n-1+k,k)$, produces no trivial triples, and generates only the subset where GCD(A,B,C) is an odd square:



              $$A=(2n-1)^2+2(2n-1)kquad B=2(2n-1)k+2k^2quad C=(2n-1)^2+2(2n-1)k+2k^2$$
              This formula generates a distinct pattern of sets that can be seen in the sample below where the increment between values of $A$ in each set is $2(2n-1)$ and $C-B=(2n-1)^2$.



              $$beginarrayc
              n & Triple_1 & Triple_2 & Triple_3 & Triple_4 \ hline
              Set_1 & 3,4,5 & 5,12,13& 7,24,25& 9,40,41\ hline
              Set_2 & 15,8,17 & 21,20,29 &27,36,45 &33,56,65\ hline
              Set_3 & 35,12,37 & 45,28,53 &55,48,73 &65,72,97 \ hline
              Set_4 &63,16,65 &77,36,85 &91,60,109 &105,88,137\ hline
              endarray$$



              Setting $n=1$ reduces formula to $$A=2k+1=quad B=2k(k+1)quad C=2k(k+1)+1$$ and generates only $Set_1$ where $C-B=1$.



              Setting $k-1$ reduces the formula to $$A=4n^2-1quad B=4nquad C=4n^2+1$$ and generates only the first member of each set where $C-A=2$.



              Another unrelated formula generates only the rare triples where $B-A=1$ such as $(3,4,5), (20,21,29), (119,120,169), (696,697,985)$. That formula begins with $A_1,B_1,C_1=3,4,5$ and then builds each triple based on its predecessor: $$A_n+1=3A_n+2C_n+1quad B_n+1=3A_n+2C_n+2quad C_n+1=4A_n+3C_n+2$$



              There are an infinite number of these but they get scarcer with altitude; Excel can only generate 19 or them before resulting in trailing zeros. The $19^th$ is $(211929657785303,211929657785304,299713796309065)$.






              share|cite|improve this answer












              $endgroup$















                Your Answer








                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/4.0/"u003ecc by-sa 4.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%2f3372482%2fa-pattern-within-the-differences-of-pythagorean-triples%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown


























                5 Answers
                5






                active

                oldest

                votes








                5 Answers
                5






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                6

















                $begingroup$

                This comes from the fact that, when $n$ is odd$$left(n,fracn^2-12,fracn^2+12right)$$is a pythagorean triple and, when $n$ is even,$$left(n,left(frac n2right)^2-1,left(frac n2right)^2+1right)$$is a pythagorean triple too. In the first case, the second and the third numbers differ by $1$ and, in the second case, they differ by $2$.






                share|cite|improve this answer










                $endgroup$













                • $begingroup$
                  I just verified these results myself, but I was wondering where these come from. Is this just a common fact, if so do you have a link to its proof?
                  $endgroup$
                  – Jamminermit
                  Oct 2 at 18:57










                • $begingroup$
                  You just use the fact thatbeginalignn^2+left(fracn^2-12right)^2&=n^2+fracn^4-2n^2+14\&=fracn^4+2n^2+14\&=left(fracn^2+12right)^2.endalignThe other one is similar. These are very old formulas, which were probably already know by the phytaghoreans.
                  $endgroup$
                  – José Carlos Santos
                  Oct 2 at 20:14
















                6

















                $begingroup$

                This comes from the fact that, when $n$ is odd$$left(n,fracn^2-12,fracn^2+12right)$$is a pythagorean triple and, when $n$ is even,$$left(n,left(frac n2right)^2-1,left(frac n2right)^2+1right)$$is a pythagorean triple too. In the first case, the second and the third numbers differ by $1$ and, in the second case, they differ by $2$.






                share|cite|improve this answer










                $endgroup$













                • $begingroup$
                  I just verified these results myself, but I was wondering where these come from. Is this just a common fact, if so do you have a link to its proof?
                  $endgroup$
                  – Jamminermit
                  Oct 2 at 18:57










                • $begingroup$
                  You just use the fact thatbeginalignn^2+left(fracn^2-12right)^2&=n^2+fracn^4-2n^2+14\&=fracn^4+2n^2+14\&=left(fracn^2+12right)^2.endalignThe other one is similar. These are very old formulas, which were probably already know by the phytaghoreans.
                  $endgroup$
                  – José Carlos Santos
                  Oct 2 at 20:14














                6















                6











                6







                $begingroup$

                This comes from the fact that, when $n$ is odd$$left(n,fracn^2-12,fracn^2+12right)$$is a pythagorean triple and, when $n$ is even,$$left(n,left(frac n2right)^2-1,left(frac n2right)^2+1right)$$is a pythagorean triple too. In the first case, the second and the third numbers differ by $1$ and, in the second case, they differ by $2$.






                share|cite|improve this answer










                $endgroup$



                This comes from the fact that, when $n$ is odd$$left(n,fracn^2-12,fracn^2+12right)$$is a pythagorean triple and, when $n$ is even,$$left(n,left(frac n2right)^2-1,left(frac n2right)^2+1right)$$is a pythagorean triple too. In the first case, the second and the third numbers differ by $1$ and, in the second case, they differ by $2$.







                share|cite|improve this answer













                share|cite|improve this answer




                share|cite|improve this answer










                answered Sep 27 at 20:41









                José Carlos SantosJosé Carlos Santos

                234k27 gold badges175 silver badges306 bronze badges




                234k27 gold badges175 silver badges306 bronze badges














                • $begingroup$
                  I just verified these results myself, but I was wondering where these come from. Is this just a common fact, if so do you have a link to its proof?
                  $endgroup$
                  – Jamminermit
                  Oct 2 at 18:57










                • $begingroup$
                  You just use the fact thatbeginalignn^2+left(fracn^2-12right)^2&=n^2+fracn^4-2n^2+14\&=fracn^4+2n^2+14\&=left(fracn^2+12right)^2.endalignThe other one is similar. These are very old formulas, which were probably already know by the phytaghoreans.
                  $endgroup$
                  – José Carlos Santos
                  Oct 2 at 20:14

















                • $begingroup$
                  I just verified these results myself, but I was wondering where these come from. Is this just a common fact, if so do you have a link to its proof?
                  $endgroup$
                  – Jamminermit
                  Oct 2 at 18:57










                • $begingroup$
                  You just use the fact thatbeginalignn^2+left(fracn^2-12right)^2&=n^2+fracn^4-2n^2+14\&=fracn^4+2n^2+14\&=left(fracn^2+12right)^2.endalignThe other one is similar. These are very old formulas, which were probably already know by the phytaghoreans.
                  $endgroup$
                  – José Carlos Santos
                  Oct 2 at 20:14
















                $begingroup$
                I just verified these results myself, but I was wondering where these come from. Is this just a common fact, if so do you have a link to its proof?
                $endgroup$
                – Jamminermit
                Oct 2 at 18:57




                $begingroup$
                I just verified these results myself, but I was wondering where these come from. Is this just a common fact, if so do you have a link to its proof?
                $endgroup$
                – Jamminermit
                Oct 2 at 18:57












                $begingroup$
                You just use the fact thatbeginalignn^2+left(fracn^2-12right)^2&=n^2+fracn^4-2n^2+14\&=fracn^4+2n^2+14\&=left(fracn^2+12right)^2.endalignThe other one is similar. These are very old formulas, which were probably already know by the phytaghoreans.
                $endgroup$
                – José Carlos Santos
                Oct 2 at 20:14





                $begingroup$
                You just use the fact thatbeginalignn^2+left(fracn^2-12right)^2&=n^2+fracn^4-2n^2+14\&=fracn^4+2n^2+14\&=left(fracn^2+12right)^2.endalignThe other one is similar. These are very old formulas, which were probably already know by the phytaghoreans.
                $endgroup$
                – José Carlos Santos
                Oct 2 at 20:14














                4

















                $begingroup$

                A primitive Pythagorean triple is of the form $$m^2-n^2, 2mn, m^2+n^2$$ where $mgt n$, $m,n$ have no common prime factor and one of $m,n$ is even.



                If $n=1$ you automatically have two numbers which differ by $2$. If $m=n+r$ then you have $2n^2+2nr$ and $2n^2+2nr+r^2$ so if $m-n=1$ you automatically have sides which differ by $1$.



                Now look at the first few possible pairs for $m,n$



                We have $2,1$ giving $3,4,5$
                Then $3,2$ giving $5,12,13$
                And $4,1$ with $15, 8, 17$
                And $4,3$ with $7, 24, 25$
                And $5,2$ with $21, 20, 29$
                etc



                This last is not one of the ones I caught, but the closeness here is essentially because the numbers $m$ and $n$ are small.



                As numbers get larger, cases like $10,7$ giving $51, 140, 149$;



                or $10,3$ leading to $91, 60, 109$ become more typical.






                share|cite|improve this answer










                $endgroup$


















                  4

















                  $begingroup$

                  A primitive Pythagorean triple is of the form $$m^2-n^2, 2mn, m^2+n^2$$ where $mgt n$, $m,n$ have no common prime factor and one of $m,n$ is even.



                  If $n=1$ you automatically have two numbers which differ by $2$. If $m=n+r$ then you have $2n^2+2nr$ and $2n^2+2nr+r^2$ so if $m-n=1$ you automatically have sides which differ by $1$.



                  Now look at the first few possible pairs for $m,n$



                  We have $2,1$ giving $3,4,5$
                  Then $3,2$ giving $5,12,13$
                  And $4,1$ with $15, 8, 17$
                  And $4,3$ with $7, 24, 25$
                  And $5,2$ with $21, 20, 29$
                  etc



                  This last is not one of the ones I caught, but the closeness here is essentially because the numbers $m$ and $n$ are small.



                  As numbers get larger, cases like $10,7$ giving $51, 140, 149$;



                  or $10,3$ leading to $91, 60, 109$ become more typical.






                  share|cite|improve this answer










                  $endgroup$
















                    4















                    4











                    4







                    $begingroup$

                    A primitive Pythagorean triple is of the form $$m^2-n^2, 2mn, m^2+n^2$$ where $mgt n$, $m,n$ have no common prime factor and one of $m,n$ is even.



                    If $n=1$ you automatically have two numbers which differ by $2$. If $m=n+r$ then you have $2n^2+2nr$ and $2n^2+2nr+r^2$ so if $m-n=1$ you automatically have sides which differ by $1$.



                    Now look at the first few possible pairs for $m,n$



                    We have $2,1$ giving $3,4,5$
                    Then $3,2$ giving $5,12,13$
                    And $4,1$ with $15, 8, 17$
                    And $4,3$ with $7, 24, 25$
                    And $5,2$ with $21, 20, 29$
                    etc



                    This last is not one of the ones I caught, but the closeness here is essentially because the numbers $m$ and $n$ are small.



                    As numbers get larger, cases like $10,7$ giving $51, 140, 149$;



                    or $10,3$ leading to $91, 60, 109$ become more typical.






                    share|cite|improve this answer










                    $endgroup$



                    A primitive Pythagorean triple is of the form $$m^2-n^2, 2mn, m^2+n^2$$ where $mgt n$, $m,n$ have no common prime factor and one of $m,n$ is even.



                    If $n=1$ you automatically have two numbers which differ by $2$. If $m=n+r$ then you have $2n^2+2nr$ and $2n^2+2nr+r^2$ so if $m-n=1$ you automatically have sides which differ by $1$.



                    Now look at the first few possible pairs for $m,n$



                    We have $2,1$ giving $3,4,5$
                    Then $3,2$ giving $5,12,13$
                    And $4,1$ with $15, 8, 17$
                    And $4,3$ with $7, 24, 25$
                    And $5,2$ with $21, 20, 29$
                    etc



                    This last is not one of the ones I caught, but the closeness here is essentially because the numbers $m$ and $n$ are small.



                    As numbers get larger, cases like $10,7$ giving $51, 140, 149$;



                    or $10,3$ leading to $91, 60, 109$ become more typical.







                    share|cite|improve this answer













                    share|cite|improve this answer




                    share|cite|improve this answer










                    answered Sep 27 at 20:48









                    Mark BennetMark Bennet

                    89.2k9 gold badges96 silver badges199 bronze badges




                    89.2k9 gold badges96 silver badges199 bronze badges
























                        2

















                        $begingroup$

                        All pythagorean triples are given by



                        $$a = m^2 - n^2 , , b = 2mn , , c = m^2 + n^2 $$



                        for any pair $m>n>0$.



                        In order to have a small $a$ we can set $m=n+k$ with $k$ small and therefore



                        • $b=2n^2+2nk$

                        • $c=2n^2+2nk+k^2$

                        therefore



                        $$b-c=k^2$$



                        which tends to be relatively "small".






                        share|cite|improve this answer










                        $endgroup$


















                          2

















                          $begingroup$

                          All pythagorean triples are given by



                          $$a = m^2 - n^2 , , b = 2mn , , c = m^2 + n^2 $$



                          for any pair $m>n>0$.



                          In order to have a small $a$ we can set $m=n+k$ with $k$ small and therefore



                          • $b=2n^2+2nk$

                          • $c=2n^2+2nk+k^2$

                          therefore



                          $$b-c=k^2$$



                          which tends to be relatively "small".






                          share|cite|improve this answer










                          $endgroup$
















                            2















                            2











                            2







                            $begingroup$

                            All pythagorean triples are given by



                            $$a = m^2 - n^2 , , b = 2mn , , c = m^2 + n^2 $$



                            for any pair $m>n>0$.



                            In order to have a small $a$ we can set $m=n+k$ with $k$ small and therefore



                            • $b=2n^2+2nk$

                            • $c=2n^2+2nk+k^2$

                            therefore



                            $$b-c=k^2$$



                            which tends to be relatively "small".






                            share|cite|improve this answer










                            $endgroup$



                            All pythagorean triples are given by



                            $$a = m^2 - n^2 , , b = 2mn , , c = m^2 + n^2 $$



                            for any pair $m>n>0$.



                            In order to have a small $a$ we can set $m=n+k$ with $k$ small and therefore



                            • $b=2n^2+2nk$

                            • $c=2n^2+2nk+k^2$

                            therefore



                            $$b-c=k^2$$



                            which tends to be relatively "small".







                            share|cite|improve this answer













                            share|cite|improve this answer




                            share|cite|improve this answer










                            answered Sep 27 at 20:38









                            useruser

                            111k10 gold badges50 silver badges102 bronze badges




                            111k10 gold badges50 silver badges102 bronze badges
























                                1

















                                $begingroup$

                                If you want for example that $$c=b+1$$



                                you choose $a$ such that



                                $$a^2=2b+1=(2k+1)^2$$



                                or
                                $$b=2k^2+2k$$
                                for $k=3$ you get
                                $$b=24 , a=7 text and c=25$$






                                share|cite|improve this answer












                                $endgroup$













                                • $begingroup$
                                  The question is about small difference, not large ones.
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:43










                                • $begingroup$
                                  @JoséCarlosSantos I understood he said that there is always a difference equal to one or two.
                                  $endgroup$
                                  – hamam_Abdallah
                                  Sep 27 at 20:45






                                • 1




                                  $begingroup$
                                  The OP wrote “I noticed a trend that there are usually two numbers which differ by only one or two”. Where did you see a “always” here?
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:47










                                • $begingroup$
                                  I have already deleted posts using a mobile. Not from the StackExchange app, but using a web browser.
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:55















                                1

















                                $begingroup$

                                If you want for example that $$c=b+1$$



                                you choose $a$ such that



                                $$a^2=2b+1=(2k+1)^2$$



                                or
                                $$b=2k^2+2k$$
                                for $k=3$ you get
                                $$b=24 , a=7 text and c=25$$






                                share|cite|improve this answer












                                $endgroup$













                                • $begingroup$
                                  The question is about small difference, not large ones.
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:43










                                • $begingroup$
                                  @JoséCarlosSantos I understood he said that there is always a difference equal to one or two.
                                  $endgroup$
                                  – hamam_Abdallah
                                  Sep 27 at 20:45






                                • 1




                                  $begingroup$
                                  The OP wrote “I noticed a trend that there are usually two numbers which differ by only one or two”. Where did you see a “always” here?
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:47










                                • $begingroup$
                                  I have already deleted posts using a mobile. Not from the StackExchange app, but using a web browser.
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:55













                                1















                                1











                                1







                                $begingroup$

                                If you want for example that $$c=b+1$$



                                you choose $a$ such that



                                $$a^2=2b+1=(2k+1)^2$$



                                or
                                $$b=2k^2+2k$$
                                for $k=3$ you get
                                $$b=24 , a=7 text and c=25$$






                                share|cite|improve this answer












                                $endgroup$



                                If you want for example that $$c=b+1$$



                                you choose $a$ such that



                                $$a^2=2b+1=(2k+1)^2$$



                                or
                                $$b=2k^2+2k$$
                                for $k=3$ you get
                                $$b=24 , a=7 text and c=25$$







                                share|cite|improve this answer















                                share|cite|improve this answer




                                share|cite|improve this answer








                                edited Sep 27 at 20:57

























                                answered Sep 27 at 20:42









                                hamam_Abdallahhamam_Abdallah

                                41k2 gold badges17 silver badges35 bronze badges




                                41k2 gold badges17 silver badges35 bronze badges














                                • $begingroup$
                                  The question is about small difference, not large ones.
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:43










                                • $begingroup$
                                  @JoséCarlosSantos I understood he said that there is always a difference equal to one or two.
                                  $endgroup$
                                  – hamam_Abdallah
                                  Sep 27 at 20:45






                                • 1




                                  $begingroup$
                                  The OP wrote “I noticed a trend that there are usually two numbers which differ by only one or two”. Where did you see a “always” here?
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:47










                                • $begingroup$
                                  I have already deleted posts using a mobile. Not from the StackExchange app, but using a web browser.
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:55
















                                • $begingroup$
                                  The question is about small difference, not large ones.
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:43










                                • $begingroup$
                                  @JoséCarlosSantos I understood he said that there is always a difference equal to one or two.
                                  $endgroup$
                                  – hamam_Abdallah
                                  Sep 27 at 20:45






                                • 1




                                  $begingroup$
                                  The OP wrote “I noticed a trend that there are usually two numbers which differ by only one or two”. Where did you see a “always” here?
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:47










                                • $begingroup$
                                  I have already deleted posts using a mobile. Not from the StackExchange app, but using a web browser.
                                  $endgroup$
                                  – José Carlos Santos
                                  Sep 27 at 20:55















                                $begingroup$
                                The question is about small difference, not large ones.
                                $endgroup$
                                – José Carlos Santos
                                Sep 27 at 20:43




                                $begingroup$
                                The question is about small difference, not large ones.
                                $endgroup$
                                – José Carlos Santos
                                Sep 27 at 20:43












                                $begingroup$
                                @JoséCarlosSantos I understood he said that there is always a difference equal to one or two.
                                $endgroup$
                                – hamam_Abdallah
                                Sep 27 at 20:45




                                $begingroup$
                                @JoséCarlosSantos I understood he said that there is always a difference equal to one or two.
                                $endgroup$
                                – hamam_Abdallah
                                Sep 27 at 20:45




                                1




                                1




                                $begingroup$
                                The OP wrote “I noticed a trend that there are usually two numbers which differ by only one or two”. Where did you see a “always” here?
                                $endgroup$
                                – José Carlos Santos
                                Sep 27 at 20:47




                                $begingroup$
                                The OP wrote “I noticed a trend that there are usually two numbers which differ by only one or two”. Where did you see a “always” here?
                                $endgroup$
                                – José Carlos Santos
                                Sep 27 at 20:47












                                $begingroup$
                                I have already deleted posts using a mobile. Not from the StackExchange app, but using a web browser.
                                $endgroup$
                                – José Carlos Santos
                                Sep 27 at 20:55




                                $begingroup$
                                I have already deleted posts using a mobile. Not from the StackExchange app, but using a web browser.
                                $endgroup$
                                – José Carlos Santos
                                Sep 27 at 20:55











                                0

















                                $begingroup$

                                The well-known Euclid's formula is $A=m^2-n^2quad B=2mnquad C=m^2+n^2$ and generates trivial triples, all primitives, doubles and square multiples of primitives but in a seemingly random pattern. A variation replaces $(m,n)$ with $(2n-1+k,k)$, produces no trivial triples, and generates only the subset where GCD(A,B,C) is an odd square:



                                $$A=(2n-1)^2+2(2n-1)kquad B=2(2n-1)k+2k^2quad C=(2n-1)^2+2(2n-1)k+2k^2$$
                                This formula generates a distinct pattern of sets that can be seen in the sample below where the increment between values of $A$ in each set is $2(2n-1)$ and $C-B=(2n-1)^2$.



                                $$beginarrayc
                                n & Triple_1 & Triple_2 & Triple_3 & Triple_4 \ hline
                                Set_1 & 3,4,5 & 5,12,13& 7,24,25& 9,40,41\ hline
                                Set_2 & 15,8,17 & 21,20,29 &27,36,45 &33,56,65\ hline
                                Set_3 & 35,12,37 & 45,28,53 &55,48,73 &65,72,97 \ hline
                                Set_4 &63,16,65 &77,36,85 &91,60,109 &105,88,137\ hline
                                endarray$$



                                Setting $n=1$ reduces formula to $$A=2k+1=quad B=2k(k+1)quad C=2k(k+1)+1$$ and generates only $Set_1$ where $C-B=1$.



                                Setting $k-1$ reduces the formula to $$A=4n^2-1quad B=4nquad C=4n^2+1$$ and generates only the first member of each set where $C-A=2$.



                                Another unrelated formula generates only the rare triples where $B-A=1$ such as $(3,4,5), (20,21,29), (119,120,169), (696,697,985)$. That formula begins with $A_1,B_1,C_1=3,4,5$ and then builds each triple based on its predecessor: $$A_n+1=3A_n+2C_n+1quad B_n+1=3A_n+2C_n+2quad C_n+1=4A_n+3C_n+2$$



                                There are an infinite number of these but they get scarcer with altitude; Excel can only generate 19 or them before resulting in trailing zeros. The $19^th$ is $(211929657785303,211929657785304,299713796309065)$.






                                share|cite|improve this answer












                                $endgroup$


















                                  0

















                                  $begingroup$

                                  The well-known Euclid's formula is $A=m^2-n^2quad B=2mnquad C=m^2+n^2$ and generates trivial triples, all primitives, doubles and square multiples of primitives but in a seemingly random pattern. A variation replaces $(m,n)$ with $(2n-1+k,k)$, produces no trivial triples, and generates only the subset where GCD(A,B,C) is an odd square:



                                  $$A=(2n-1)^2+2(2n-1)kquad B=2(2n-1)k+2k^2quad C=(2n-1)^2+2(2n-1)k+2k^2$$
                                  This formula generates a distinct pattern of sets that can be seen in the sample below where the increment between values of $A$ in each set is $2(2n-1)$ and $C-B=(2n-1)^2$.



                                  $$beginarrayc
                                  n & Triple_1 & Triple_2 & Triple_3 & Triple_4 \ hline
                                  Set_1 & 3,4,5 & 5,12,13& 7,24,25& 9,40,41\ hline
                                  Set_2 & 15,8,17 & 21,20,29 &27,36,45 &33,56,65\ hline
                                  Set_3 & 35,12,37 & 45,28,53 &55,48,73 &65,72,97 \ hline
                                  Set_4 &63,16,65 &77,36,85 &91,60,109 &105,88,137\ hline
                                  endarray$$



                                  Setting $n=1$ reduces formula to $$A=2k+1=quad B=2k(k+1)quad C=2k(k+1)+1$$ and generates only $Set_1$ where $C-B=1$.



                                  Setting $k-1$ reduces the formula to $$A=4n^2-1quad B=4nquad C=4n^2+1$$ and generates only the first member of each set where $C-A=2$.



                                  Another unrelated formula generates only the rare triples where $B-A=1$ such as $(3,4,5), (20,21,29), (119,120,169), (696,697,985)$. That formula begins with $A_1,B_1,C_1=3,4,5$ and then builds each triple based on its predecessor: $$A_n+1=3A_n+2C_n+1quad B_n+1=3A_n+2C_n+2quad C_n+1=4A_n+3C_n+2$$



                                  There are an infinite number of these but they get scarcer with altitude; Excel can only generate 19 or them before resulting in trailing zeros. The $19^th$ is $(211929657785303,211929657785304,299713796309065)$.






                                  share|cite|improve this answer












                                  $endgroup$
















                                    0















                                    0











                                    0







                                    $begingroup$

                                    The well-known Euclid's formula is $A=m^2-n^2quad B=2mnquad C=m^2+n^2$ and generates trivial triples, all primitives, doubles and square multiples of primitives but in a seemingly random pattern. A variation replaces $(m,n)$ with $(2n-1+k,k)$, produces no trivial triples, and generates only the subset where GCD(A,B,C) is an odd square:



                                    $$A=(2n-1)^2+2(2n-1)kquad B=2(2n-1)k+2k^2quad C=(2n-1)^2+2(2n-1)k+2k^2$$
                                    This formula generates a distinct pattern of sets that can be seen in the sample below where the increment between values of $A$ in each set is $2(2n-1)$ and $C-B=(2n-1)^2$.



                                    $$beginarrayc
                                    n & Triple_1 & Triple_2 & Triple_3 & Triple_4 \ hline
                                    Set_1 & 3,4,5 & 5,12,13& 7,24,25& 9,40,41\ hline
                                    Set_2 & 15,8,17 & 21,20,29 &27,36,45 &33,56,65\ hline
                                    Set_3 & 35,12,37 & 45,28,53 &55,48,73 &65,72,97 \ hline
                                    Set_4 &63,16,65 &77,36,85 &91,60,109 &105,88,137\ hline
                                    endarray$$



                                    Setting $n=1$ reduces formula to $$A=2k+1=quad B=2k(k+1)quad C=2k(k+1)+1$$ and generates only $Set_1$ where $C-B=1$.



                                    Setting $k-1$ reduces the formula to $$A=4n^2-1quad B=4nquad C=4n^2+1$$ and generates only the first member of each set where $C-A=2$.



                                    Another unrelated formula generates only the rare triples where $B-A=1$ such as $(3,4,5), (20,21,29), (119,120,169), (696,697,985)$. That formula begins with $A_1,B_1,C_1=3,4,5$ and then builds each triple based on its predecessor: $$A_n+1=3A_n+2C_n+1quad B_n+1=3A_n+2C_n+2quad C_n+1=4A_n+3C_n+2$$



                                    There are an infinite number of these but they get scarcer with altitude; Excel can only generate 19 or them before resulting in trailing zeros. The $19^th$ is $(211929657785303,211929657785304,299713796309065)$.






                                    share|cite|improve this answer












                                    $endgroup$



                                    The well-known Euclid's formula is $A=m^2-n^2quad B=2mnquad C=m^2+n^2$ and generates trivial triples, all primitives, doubles and square multiples of primitives but in a seemingly random pattern. A variation replaces $(m,n)$ with $(2n-1+k,k)$, produces no trivial triples, and generates only the subset where GCD(A,B,C) is an odd square:



                                    $$A=(2n-1)^2+2(2n-1)kquad B=2(2n-1)k+2k^2quad C=(2n-1)^2+2(2n-1)k+2k^2$$
                                    This formula generates a distinct pattern of sets that can be seen in the sample below where the increment between values of $A$ in each set is $2(2n-1)$ and $C-B=(2n-1)^2$.



                                    $$beginarrayc
                                    n & Triple_1 & Triple_2 & Triple_3 & Triple_4 \ hline
                                    Set_1 & 3,4,5 & 5,12,13& 7,24,25& 9,40,41\ hline
                                    Set_2 & 15,8,17 & 21,20,29 &27,36,45 &33,56,65\ hline
                                    Set_3 & 35,12,37 & 45,28,53 &55,48,73 &65,72,97 \ hline
                                    Set_4 &63,16,65 &77,36,85 &91,60,109 &105,88,137\ hline
                                    endarray$$



                                    Setting $n=1$ reduces formula to $$A=2k+1=quad B=2k(k+1)quad C=2k(k+1)+1$$ and generates only $Set_1$ where $C-B=1$.



                                    Setting $k-1$ reduces the formula to $$A=4n^2-1quad B=4nquad C=4n^2+1$$ and generates only the first member of each set where $C-A=2$.



                                    Another unrelated formula generates only the rare triples where $B-A=1$ such as $(3,4,5), (20,21,29), (119,120,169), (696,697,985)$. That formula begins with $A_1,B_1,C_1=3,4,5$ and then builds each triple based on its predecessor: $$A_n+1=3A_n+2C_n+1quad B_n+1=3A_n+2C_n+2quad C_n+1=4A_n+3C_n+2$$



                                    There are an infinite number of these but they get scarcer with altitude; Excel can only generate 19 or them before resulting in trailing zeros. The $19^th$ is $(211929657785303,211929657785304,299713796309065)$.







                                    share|cite|improve this answer















                                    share|cite|improve this answer




                                    share|cite|improve this answer








                                    edited Oct 3 at 17:06

























                                    answered Oct 1 at 18:20









                                    poetasispoetasis

                                    1,0751 gold badge3 silver badges19 bronze badges




                                    1,0751 gold badge3 silver badges19 bronze badges































                                        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.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3372482%2fa-pattern-within-the-differences-of-pythagorean-triples%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

                                        Tamil (spriik) Luke uk diar | Nawigatjuun

                                        Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                                        Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?