Solve Euler Project #9 only mathematically - Pythagorean tripletProject Euler, Problem #25Solving $phi (n) < (n-1) cdot frac1549994744 $When does $A(x^2+y^2+z^2)=B(xy + yz + xz)$ have nontrivial integer solutions?how to find a relation between remainders when a sequence is givenPythagorean triplet .Is it possible to bound the hypotenuse given the perimeter of an orthogonal triangle?Possible mis-interpretation in Project Euler #21How can i solve this pythagorean triplet problem?An upper bound for truncatable primessPythagorean like Diophantine Equation

When can a graph be oriented to form a Hasse diagram of a finite poset?

Why do previous versions of Debian packages vanish in the package repositories? (highly relevant for version-controlled system configuration)

Any historical references to links between JOSS and BASIC?

Fill the Image Sequence Ep. 2

What does IKEA-like mean?

A demigod among men

Is any device installed on airplane to measure wind speed relative to the ground, and its direction?

Consecutive numbers that are Manhattan distance 3 apart

How are steel imports supposed to threaten US national security?

Suspicious crontab entry

Could a small private island protect its sovereignty?

Can a successful economy exist without renting stuff?

Adding elements to some sublists of unequal length

Is data science mathematically interesting?

SSH From a shared workplace computer

Little Endian Number to String Conversion

What is this plant with small red fruits?

Compare items between two instances

A Society Built Around Theft?

'Cheddar goes "good" with burgers?' Can "go" be seen as a verb of the senses?

I'm largest when I'm five, what am I?

What can I do to avoid potential charges for bribery?

UK PM is taking his proposal to EU but has not proposed to his own parliament - can he legally bypass the UK parliament?

What powers an aircraft prior to the APU being switched on?



Solve Euler Project #9 only mathematically - Pythagorean triplet


Project Euler, Problem #25Solving $phi (n) < (n-1) cdot frac1549994744 $When does $A(x^2+y^2+z^2)=B(xy + yz + xz)$ have nontrivial integer solutions?how to find a relation between remainders when a sequence is givenPythagorean triplet .Is it possible to bound the hypotenuse given the perimeter of an orthogonal triangle?Possible mis-interpretation in Project Euler #21How can i solve this pythagorean triplet problem?An upper bound for truncatable primessPythagorean like Diophantine Equation






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


The "Euler Project" problem 9 (https://projecteuler.net/problem=9) asks to solve:



$a^2$ + $b^2$ = $c^2$

a + b + c = 1000



I find answers solving it with brute-force and programmatically, but is there a way to solve the problem ONLY mathematically? Can someone help, please?



Problem as explained in Project Euler website:

A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,

a^2 + b^2 = c^2
For example, 3^2 + 4^2 = 9 + 16 = 25 = 52.

There exists exactly one Pythagorean triplet for which a + b + c = 1000.

Find the product abc.









share|cite|improve this question









New contributor



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






$endgroup$















  • $begingroup$
    what do you know about triples in general ...
    $endgroup$
    – Roddy MacPhee
    8 hours ago

















4














$begingroup$


The "Euler Project" problem 9 (https://projecteuler.net/problem=9) asks to solve:



$a^2$ + $b^2$ = $c^2$

a + b + c = 1000



I find answers solving it with brute-force and programmatically, but is there a way to solve the problem ONLY mathematically? Can someone help, please?



Problem as explained in Project Euler website:

A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,

a^2 + b^2 = c^2
For example, 3^2 + 4^2 = 9 + 16 = 25 = 52.

There exists exactly one Pythagorean triplet for which a + b + c = 1000.

Find the product abc.









share|cite|improve this question









New contributor



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






$endgroup$















  • $begingroup$
    what do you know about triples in general ...
    $endgroup$
    – Roddy MacPhee
    8 hours ago













4












4








4


1



$begingroup$


The "Euler Project" problem 9 (https://projecteuler.net/problem=9) asks to solve:



$a^2$ + $b^2$ = $c^2$

a + b + c = 1000



I find answers solving it with brute-force and programmatically, but is there a way to solve the problem ONLY mathematically? Can someone help, please?



Problem as explained in Project Euler website:

A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,

a^2 + b^2 = c^2
For example, 3^2 + 4^2 = 9 + 16 = 25 = 52.

There exists exactly one Pythagorean triplet for which a + b + c = 1000.

Find the product abc.









share|cite|improve this question









New contributor



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






$endgroup$




The "Euler Project" problem 9 (https://projecteuler.net/problem=9) asks to solve:



$a^2$ + $b^2$ = $c^2$

a + b + c = 1000



I find answers solving it with brute-force and programmatically, but is there a way to solve the problem ONLY mathematically? Can someone help, please?



Problem as explained in Project Euler website:

A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,

a^2 + b^2 = c^2
For example, 3^2 + 4^2 = 9 + 16 = 25 = 52.

There exists exactly one Pythagorean triplet for which a + b + c = 1000.

Find the product abc.






elementary-number-theory pythagorean-triples






share|cite|improve this question









New contributor



BeMyGuestPlease 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



BeMyGuestPlease 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



share|cite|improve this question








edited 8 hours ago









Matthew Daly

5,8651 gold badge8 silver badges28 bronze badges




5,8651 gold badge8 silver badges28 bronze badges






New contributor



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








asked 8 hours ago









BeMyGuestPleaseBeMyGuestPlease

211 bronze badge




211 bronze badge




New contributor



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




New contributor




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
















  • $begingroup$
    what do you know about triples in general ...
    $endgroup$
    – Roddy MacPhee
    8 hours ago
















  • $begingroup$
    what do you know about triples in general ...
    $endgroup$
    – Roddy MacPhee
    8 hours ago















$begingroup$
what do you know about triples in general ...
$endgroup$
– Roddy MacPhee
8 hours ago




$begingroup$
what do you know about triples in general ...
$endgroup$
– Roddy MacPhee
8 hours ago










4 Answers
4






active

oldest

votes


















4
















$begingroup$

Hint The classical parameterization of the Pythagorean triples is
$$a = k (m^2 - n^2), qquad b = 2 k m n, qquad c = k (m^2 + n^2),$$
where $m > n > 0$ and $m, n$ coprime and not both odd.



Substituting in our condition gives
$$1000 = a + b + c = 2 k m (m + n),$$ and clearing the constant leaves $$phantom(ast) qquad 500 = k m (m + n) . qquad (ast)$$
Now, notice that (1) $500 = 2^2 5^3$ has only two distinct prime factors, and (2) since $m$ and $n$ are coprime, so are $m$ and $m + n$.




So, one of $m, m + n$ must be one of $1, 2, 4$ (in fact one of $2, 4$, since $m > n > 0$ implies $m + n > m > 1$) and the other must be one of $1, 5, 25, 125$. Since $m + n > m$, we must have $m in 2, 4$, and so $m + n < 2 m leq 8$. Thus, $m + n = 5$, and $2 m > m + n = 5$ implies $m geq 3$, leaving $m = 4$ as the only possibility. Substituting gives $n = 1, k = 25$ and so substituting in our parameterization we find $$color#df0000boxed(a, b, c) = (275, 200, 425) .$$







share|cite|improve this answer












$endgroup$














  • $begingroup$
    Yours is nicer than mine.
    $endgroup$
    – marty cohen
    7 hours ago










  • $begingroup$
    I managed to streamline the part of the proof in the spoiler box a little more.
    $endgroup$
    – Travis
    7 hours ago


















1
















$begingroup$

It is known that all primitive Pythagorean triples (i.e with no common factors) is of the form $(m^2-n^2,2mn,m^2+n^2)$ for relatively prime $m$ and $n$ where one is even and the other is odd.



Based on that, you are looking for $m$ and $n$ such that $$(m^2-n^2)+2mn+(m^2+n^2)=2m^2+2mn=2m(m+n)$$ is a factor of $1000$.






share|cite|improve this answer










$endgroup$














  • $begingroup$
    Which then restricts $m,n$ because $m,n$ being 1 mod 3, force divisibility by 3. $m$ being 2 mod 3 Also can't work with $n$ 1 mod 3, and neither can both being 0 mod 3. that cuts down the work.
    $endgroup$
    – Roddy MacPhee
    6 hours ago


















1
















$begingroup$

The triplets are all of the form
$a=u(n^2-m^2),
b=2umn,
c=u(n^2+m^2)
$

with $n > m$
so
$a+b+c
=u(2n^2+2mn)
=2un(n+m)
$
.



We must have
$n > m$.



Therefore
$500
=un(n+m)
$
.



If
$500 = rst
$

with
$s < t$
then
$u = r,
n = s,
n+m = t
$

so
$m = t-n
=t-s
$
.



We must have
$n > m$
so
$s > t-s$
or
$s < t < 2s$.



Playing around a bit,



$500 = 1*20*25$,
so,
swapping $m$ and $n$,
$u = 1, m = 5,
n=20
$

and the sides are
$20^2-5^2 = 375 = 25 15,
2 20 5 = 200 = 25 8,
20^2+5^2 = 425 = 25 17
$
.






share|cite|improve this answer










$endgroup$






















    0
















    $begingroup$

    Given perimeter: $qquad P=(m^2-n^2 )+2mn+(m^2+n^2 )=2m^2+2mnqquad $ If we solve for $n$, we can find if there exists one or more $m,n$ combinations for a Pythagorean triple with that perimeter. Any value of $m$ that yields an integer $n$ gives us such an $m,n$ combination. We let:



    $$n=fracP-2m^22mquad where quad biggllceilfracsqrtP2biggrrceille m le biggllfloorsqrtfracP2biggrrfloor$$
    Here, the lower limit ensures that $m>n$ and the upper limit insures that $n>0$. For example:



    $$P=1000implies biggllceilfracsqrt10002biggrrceil =16le m le biggllfloorsqrtfrac10002biggrrfloor=22$$



    In this range, we find only one value of $m$ that yields and integer $n$: $m=20implies n=5$, and, using Euclid's formula $F(m,n)$, we have $F(20,5)=(375,200,425)$. Then, the product, as I understand it, is $$Atimes Btimes C=375times200times425=31875000.$$






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



      );







      BeMyGuestPlease 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%2f3378407%2fsolve-euler-project-9-only-mathematically-pythagorean-triplet%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4
















      $begingroup$

      Hint The classical parameterization of the Pythagorean triples is
      $$a = k (m^2 - n^2), qquad b = 2 k m n, qquad c = k (m^2 + n^2),$$
      where $m > n > 0$ and $m, n$ coprime and not both odd.



      Substituting in our condition gives
      $$1000 = a + b + c = 2 k m (m + n),$$ and clearing the constant leaves $$phantom(ast) qquad 500 = k m (m + n) . qquad (ast)$$
      Now, notice that (1) $500 = 2^2 5^3$ has only two distinct prime factors, and (2) since $m$ and $n$ are coprime, so are $m$ and $m + n$.




      So, one of $m, m + n$ must be one of $1, 2, 4$ (in fact one of $2, 4$, since $m > n > 0$ implies $m + n > m > 1$) and the other must be one of $1, 5, 25, 125$. Since $m + n > m$, we must have $m in 2, 4$, and so $m + n < 2 m leq 8$. Thus, $m + n = 5$, and $2 m > m + n = 5$ implies $m geq 3$, leaving $m = 4$ as the only possibility. Substituting gives $n = 1, k = 25$ and so substituting in our parameterization we find $$color#df0000boxed(a, b, c) = (275, 200, 425) .$$







      share|cite|improve this answer












      $endgroup$














      • $begingroup$
        Yours is nicer than mine.
        $endgroup$
        – marty cohen
        7 hours ago










      • $begingroup$
        I managed to streamline the part of the proof in the spoiler box a little more.
        $endgroup$
        – Travis
        7 hours ago















      4
















      $begingroup$

      Hint The classical parameterization of the Pythagorean triples is
      $$a = k (m^2 - n^2), qquad b = 2 k m n, qquad c = k (m^2 + n^2),$$
      where $m > n > 0$ and $m, n$ coprime and not both odd.



      Substituting in our condition gives
      $$1000 = a + b + c = 2 k m (m + n),$$ and clearing the constant leaves $$phantom(ast) qquad 500 = k m (m + n) . qquad (ast)$$
      Now, notice that (1) $500 = 2^2 5^3$ has only two distinct prime factors, and (2) since $m$ and $n$ are coprime, so are $m$ and $m + n$.




      So, one of $m, m + n$ must be one of $1, 2, 4$ (in fact one of $2, 4$, since $m > n > 0$ implies $m + n > m > 1$) and the other must be one of $1, 5, 25, 125$. Since $m + n > m$, we must have $m in 2, 4$, and so $m + n < 2 m leq 8$. Thus, $m + n = 5$, and $2 m > m + n = 5$ implies $m geq 3$, leaving $m = 4$ as the only possibility. Substituting gives $n = 1, k = 25$ and so substituting in our parameterization we find $$color#df0000boxed(a, b, c) = (275, 200, 425) .$$







      share|cite|improve this answer












      $endgroup$














      • $begingroup$
        Yours is nicer than mine.
        $endgroup$
        – marty cohen
        7 hours ago










      • $begingroup$
        I managed to streamline the part of the proof in the spoiler box a little more.
        $endgroup$
        – Travis
        7 hours ago













      4














      4










      4







      $begingroup$

      Hint The classical parameterization of the Pythagorean triples is
      $$a = k (m^2 - n^2), qquad b = 2 k m n, qquad c = k (m^2 + n^2),$$
      where $m > n > 0$ and $m, n$ coprime and not both odd.



      Substituting in our condition gives
      $$1000 = a + b + c = 2 k m (m + n),$$ and clearing the constant leaves $$phantom(ast) qquad 500 = k m (m + n) . qquad (ast)$$
      Now, notice that (1) $500 = 2^2 5^3$ has only two distinct prime factors, and (2) since $m$ and $n$ are coprime, so are $m$ and $m + n$.




      So, one of $m, m + n$ must be one of $1, 2, 4$ (in fact one of $2, 4$, since $m > n > 0$ implies $m + n > m > 1$) and the other must be one of $1, 5, 25, 125$. Since $m + n > m$, we must have $m in 2, 4$, and so $m + n < 2 m leq 8$. Thus, $m + n = 5$, and $2 m > m + n = 5$ implies $m geq 3$, leaving $m = 4$ as the only possibility. Substituting gives $n = 1, k = 25$ and so substituting in our parameterization we find $$color#df0000boxed(a, b, c) = (275, 200, 425) .$$







      share|cite|improve this answer












      $endgroup$



      Hint The classical parameterization of the Pythagorean triples is
      $$a = k (m^2 - n^2), qquad b = 2 k m n, qquad c = k (m^2 + n^2),$$
      where $m > n > 0$ and $m, n$ coprime and not both odd.



      Substituting in our condition gives
      $$1000 = a + b + c = 2 k m (m + n),$$ and clearing the constant leaves $$phantom(ast) qquad 500 = k m (m + n) . qquad (ast)$$
      Now, notice that (1) $500 = 2^2 5^3$ has only two distinct prime factors, and (2) since $m$ and $n$ are coprime, so are $m$ and $m + n$.




      So, one of $m, m + n$ must be one of $1, 2, 4$ (in fact one of $2, 4$, since $m > n > 0$ implies $m + n > m > 1$) and the other must be one of $1, 5, 25, 125$. Since $m + n > m$, we must have $m in 2, 4$, and so $m + n < 2 m leq 8$. Thus, $m + n = 5$, and $2 m > m + n = 5$ implies $m geq 3$, leaving $m = 4$ as the only possibility. Substituting gives $n = 1, k = 25$ and so substituting in our parameterization we find $$color#df0000boxed(a, b, c) = (275, 200, 425) .$$








      share|cite|improve this answer















      share|cite|improve this answer




      share|cite|improve this answer



      share|cite|improve this answer








      edited 7 hours ago

























      answered 7 hours ago









      TravisTravis

      70.5k8 gold badges77 silver badges164 bronze badges




      70.5k8 gold badges77 silver badges164 bronze badges














      • $begingroup$
        Yours is nicer than mine.
        $endgroup$
        – marty cohen
        7 hours ago










      • $begingroup$
        I managed to streamline the part of the proof in the spoiler box a little more.
        $endgroup$
        – Travis
        7 hours ago
















      • $begingroup$
        Yours is nicer than mine.
        $endgroup$
        – marty cohen
        7 hours ago










      • $begingroup$
        I managed to streamline the part of the proof in the spoiler box a little more.
        $endgroup$
        – Travis
        7 hours ago















      $begingroup$
      Yours is nicer than mine.
      $endgroup$
      – marty cohen
      7 hours ago




      $begingroup$
      Yours is nicer than mine.
      $endgroup$
      – marty cohen
      7 hours ago












      $begingroup$
      I managed to streamline the part of the proof in the spoiler box a little more.
      $endgroup$
      – Travis
      7 hours ago




      $begingroup$
      I managed to streamline the part of the proof in the spoiler box a little more.
      $endgroup$
      – Travis
      7 hours ago













      1
















      $begingroup$

      It is known that all primitive Pythagorean triples (i.e with no common factors) is of the form $(m^2-n^2,2mn,m^2+n^2)$ for relatively prime $m$ and $n$ where one is even and the other is odd.



      Based on that, you are looking for $m$ and $n$ such that $$(m^2-n^2)+2mn+(m^2+n^2)=2m^2+2mn=2m(m+n)$$ is a factor of $1000$.






      share|cite|improve this answer










      $endgroup$














      • $begingroup$
        Which then restricts $m,n$ because $m,n$ being 1 mod 3, force divisibility by 3. $m$ being 2 mod 3 Also can't work with $n$ 1 mod 3, and neither can both being 0 mod 3. that cuts down the work.
        $endgroup$
        – Roddy MacPhee
        6 hours ago















      1
















      $begingroup$

      It is known that all primitive Pythagorean triples (i.e with no common factors) is of the form $(m^2-n^2,2mn,m^2+n^2)$ for relatively prime $m$ and $n$ where one is even and the other is odd.



      Based on that, you are looking for $m$ and $n$ such that $$(m^2-n^2)+2mn+(m^2+n^2)=2m^2+2mn=2m(m+n)$$ is a factor of $1000$.






      share|cite|improve this answer










      $endgroup$














      • $begingroup$
        Which then restricts $m,n$ because $m,n$ being 1 mod 3, force divisibility by 3. $m$ being 2 mod 3 Also can't work with $n$ 1 mod 3, and neither can both being 0 mod 3. that cuts down the work.
        $endgroup$
        – Roddy MacPhee
        6 hours ago













      1














      1










      1







      $begingroup$

      It is known that all primitive Pythagorean triples (i.e with no common factors) is of the form $(m^2-n^2,2mn,m^2+n^2)$ for relatively prime $m$ and $n$ where one is even and the other is odd.



      Based on that, you are looking for $m$ and $n$ such that $$(m^2-n^2)+2mn+(m^2+n^2)=2m^2+2mn=2m(m+n)$$ is a factor of $1000$.






      share|cite|improve this answer










      $endgroup$



      It is known that all primitive Pythagorean triples (i.e with no common factors) is of the form $(m^2-n^2,2mn,m^2+n^2)$ for relatively prime $m$ and $n$ where one is even and the other is odd.



      Based on that, you are looking for $m$ and $n$ such that $$(m^2-n^2)+2mn+(m^2+n^2)=2m^2+2mn=2m(m+n)$$ is a factor of $1000$.







      share|cite|improve this answer













      share|cite|improve this answer




      share|cite|improve this answer



      share|cite|improve this answer










      answered 8 hours ago









      Matthew DalyMatthew Daly

      5,8651 gold badge8 silver badges28 bronze badges




      5,8651 gold badge8 silver badges28 bronze badges














      • $begingroup$
        Which then restricts $m,n$ because $m,n$ being 1 mod 3, force divisibility by 3. $m$ being 2 mod 3 Also can't work with $n$ 1 mod 3, and neither can both being 0 mod 3. that cuts down the work.
        $endgroup$
        – Roddy MacPhee
        6 hours ago
















      • $begingroup$
        Which then restricts $m,n$ because $m,n$ being 1 mod 3, force divisibility by 3. $m$ being 2 mod 3 Also can't work with $n$ 1 mod 3, and neither can both being 0 mod 3. that cuts down the work.
        $endgroup$
        – Roddy MacPhee
        6 hours ago















      $begingroup$
      Which then restricts $m,n$ because $m,n$ being 1 mod 3, force divisibility by 3. $m$ being 2 mod 3 Also can't work with $n$ 1 mod 3, and neither can both being 0 mod 3. that cuts down the work.
      $endgroup$
      – Roddy MacPhee
      6 hours ago




      $begingroup$
      Which then restricts $m,n$ because $m,n$ being 1 mod 3, force divisibility by 3. $m$ being 2 mod 3 Also can't work with $n$ 1 mod 3, and neither can both being 0 mod 3. that cuts down the work.
      $endgroup$
      – Roddy MacPhee
      6 hours ago











      1
















      $begingroup$

      The triplets are all of the form
      $a=u(n^2-m^2),
      b=2umn,
      c=u(n^2+m^2)
      $

      with $n > m$
      so
      $a+b+c
      =u(2n^2+2mn)
      =2un(n+m)
      $
      .



      We must have
      $n > m$.



      Therefore
      $500
      =un(n+m)
      $
      .



      If
      $500 = rst
      $

      with
      $s < t$
      then
      $u = r,
      n = s,
      n+m = t
      $

      so
      $m = t-n
      =t-s
      $
      .



      We must have
      $n > m$
      so
      $s > t-s$
      or
      $s < t < 2s$.



      Playing around a bit,



      $500 = 1*20*25$,
      so,
      swapping $m$ and $n$,
      $u = 1, m = 5,
      n=20
      $

      and the sides are
      $20^2-5^2 = 375 = 25 15,
      2 20 5 = 200 = 25 8,
      20^2+5^2 = 425 = 25 17
      $
      .






      share|cite|improve this answer










      $endgroup$



















        1
















        $begingroup$

        The triplets are all of the form
        $a=u(n^2-m^2),
        b=2umn,
        c=u(n^2+m^2)
        $

        with $n > m$
        so
        $a+b+c
        =u(2n^2+2mn)
        =2un(n+m)
        $
        .



        We must have
        $n > m$.



        Therefore
        $500
        =un(n+m)
        $
        .



        If
        $500 = rst
        $

        with
        $s < t$
        then
        $u = r,
        n = s,
        n+m = t
        $

        so
        $m = t-n
        =t-s
        $
        .



        We must have
        $n > m$
        so
        $s > t-s$
        or
        $s < t < 2s$.



        Playing around a bit,



        $500 = 1*20*25$,
        so,
        swapping $m$ and $n$,
        $u = 1, m = 5,
        n=20
        $

        and the sides are
        $20^2-5^2 = 375 = 25 15,
        2 20 5 = 200 = 25 8,
        20^2+5^2 = 425 = 25 17
        $
        .






        share|cite|improve this answer










        $endgroup$

















          1














          1










          1







          $begingroup$

          The triplets are all of the form
          $a=u(n^2-m^2),
          b=2umn,
          c=u(n^2+m^2)
          $

          with $n > m$
          so
          $a+b+c
          =u(2n^2+2mn)
          =2un(n+m)
          $
          .



          We must have
          $n > m$.



          Therefore
          $500
          =un(n+m)
          $
          .



          If
          $500 = rst
          $

          with
          $s < t$
          then
          $u = r,
          n = s,
          n+m = t
          $

          so
          $m = t-n
          =t-s
          $
          .



          We must have
          $n > m$
          so
          $s > t-s$
          or
          $s < t < 2s$.



          Playing around a bit,



          $500 = 1*20*25$,
          so,
          swapping $m$ and $n$,
          $u = 1, m = 5,
          n=20
          $

          and the sides are
          $20^2-5^2 = 375 = 25 15,
          2 20 5 = 200 = 25 8,
          20^2+5^2 = 425 = 25 17
          $
          .






          share|cite|improve this answer










          $endgroup$



          The triplets are all of the form
          $a=u(n^2-m^2),
          b=2umn,
          c=u(n^2+m^2)
          $

          with $n > m$
          so
          $a+b+c
          =u(2n^2+2mn)
          =2un(n+m)
          $
          .



          We must have
          $n > m$.



          Therefore
          $500
          =un(n+m)
          $
          .



          If
          $500 = rst
          $

          with
          $s < t$
          then
          $u = r,
          n = s,
          n+m = t
          $

          so
          $m = t-n
          =t-s
          $
          .



          We must have
          $n > m$
          so
          $s > t-s$
          or
          $s < t < 2s$.



          Playing around a bit,



          $500 = 1*20*25$,
          so,
          swapping $m$ and $n$,
          $u = 1, m = 5,
          n=20
          $

          and the sides are
          $20^2-5^2 = 375 = 25 15,
          2 20 5 = 200 = 25 8,
          20^2+5^2 = 425 = 25 17
          $
          .







          share|cite|improve this answer













          share|cite|improve this answer




          share|cite|improve this answer



          share|cite|improve this answer










          answered 8 hours ago









          marty cohenmarty cohen

          80.4k5 gold badges53 silver badges135 bronze badges




          80.4k5 gold badges53 silver badges135 bronze badges
























              0
















              $begingroup$

              Given perimeter: $qquad P=(m^2-n^2 )+2mn+(m^2+n^2 )=2m^2+2mnqquad $ If we solve for $n$, we can find if there exists one or more $m,n$ combinations for a Pythagorean triple with that perimeter. Any value of $m$ that yields an integer $n$ gives us such an $m,n$ combination. We let:



              $$n=fracP-2m^22mquad where quad biggllceilfracsqrtP2biggrrceille m le biggllfloorsqrtfracP2biggrrfloor$$
              Here, the lower limit ensures that $m>n$ and the upper limit insures that $n>0$. For example:



              $$P=1000implies biggllceilfracsqrt10002biggrrceil =16le m le biggllfloorsqrtfrac10002biggrrfloor=22$$



              In this range, we find only one value of $m$ that yields and integer $n$: $m=20implies n=5$, and, using Euclid's formula $F(m,n)$, we have $F(20,5)=(375,200,425)$. Then, the product, as I understand it, is $$Atimes Btimes C=375times200times425=31875000.$$






              share|cite|improve this answer












              $endgroup$



















                0
















                $begingroup$

                Given perimeter: $qquad P=(m^2-n^2 )+2mn+(m^2+n^2 )=2m^2+2mnqquad $ If we solve for $n$, we can find if there exists one or more $m,n$ combinations for a Pythagorean triple with that perimeter. Any value of $m$ that yields an integer $n$ gives us such an $m,n$ combination. We let:



                $$n=fracP-2m^22mquad where quad biggllceilfracsqrtP2biggrrceille m le biggllfloorsqrtfracP2biggrrfloor$$
                Here, the lower limit ensures that $m>n$ and the upper limit insures that $n>0$. For example:



                $$P=1000implies biggllceilfracsqrt10002biggrrceil =16le m le biggllfloorsqrtfrac10002biggrrfloor=22$$



                In this range, we find only one value of $m$ that yields and integer $n$: $m=20implies n=5$, and, using Euclid's formula $F(m,n)$, we have $F(20,5)=(375,200,425)$. Then, the product, as I understand it, is $$Atimes Btimes C=375times200times425=31875000.$$






                share|cite|improve this answer












                $endgroup$

















                  0














                  0










                  0







                  $begingroup$

                  Given perimeter: $qquad P=(m^2-n^2 )+2mn+(m^2+n^2 )=2m^2+2mnqquad $ If we solve for $n$, we can find if there exists one or more $m,n$ combinations for a Pythagorean triple with that perimeter. Any value of $m$ that yields an integer $n$ gives us such an $m,n$ combination. We let:



                  $$n=fracP-2m^22mquad where quad biggllceilfracsqrtP2biggrrceille m le biggllfloorsqrtfracP2biggrrfloor$$
                  Here, the lower limit ensures that $m>n$ and the upper limit insures that $n>0$. For example:



                  $$P=1000implies biggllceilfracsqrt10002biggrrceil =16le m le biggllfloorsqrtfrac10002biggrrfloor=22$$



                  In this range, we find only one value of $m$ that yields and integer $n$: $m=20implies n=5$, and, using Euclid's formula $F(m,n)$, we have $F(20,5)=(375,200,425)$. Then, the product, as I understand it, is $$Atimes Btimes C=375times200times425=31875000.$$






                  share|cite|improve this answer












                  $endgroup$



                  Given perimeter: $qquad P=(m^2-n^2 )+2mn+(m^2+n^2 )=2m^2+2mnqquad $ If we solve for $n$, we can find if there exists one or more $m,n$ combinations for a Pythagorean triple with that perimeter. Any value of $m$ that yields an integer $n$ gives us such an $m,n$ combination. We let:



                  $$n=fracP-2m^22mquad where quad biggllceilfracsqrtP2biggrrceille m le biggllfloorsqrtfracP2biggrrfloor$$
                  Here, the lower limit ensures that $m>n$ and the upper limit insures that $n>0$. For example:



                  $$P=1000implies biggllceilfracsqrt10002biggrrceil =16le m le biggllfloorsqrtfrac10002biggrrfloor=22$$



                  In this range, we find only one value of $m$ that yields and integer $n$: $m=20implies n=5$, and, using Euclid's formula $F(m,n)$, we have $F(20,5)=(375,200,425)$. Then, the product, as I understand it, is $$Atimes Btimes C=375times200times425=31875000.$$







                  share|cite|improve this answer















                  share|cite|improve this answer




                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited 5 hours ago

























                  answered 5 hours ago









                  poetasispoetasis

                  8121 gold badge3 silver badges19 bronze badges




                  8121 gold badge3 silver badges19 bronze badges
























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









                      draft saved

                      draft discarded

















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












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











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














                      Thanks for contributing an answer to Mathematics Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3378407%2fsolve-euler-project-9-only-mathematically-pythagorean-triplet%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

                      Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                      Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                      Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її