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;
$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.
elementary-number-theory pythagorean-triples
New contributor
$endgroup$
add a comment
|
$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.
elementary-number-theory pythagorean-triples
New contributor
$endgroup$
$begingroup$
what do you know about triples in general ...
$endgroup$
– Roddy MacPhee
8 hours ago
add a comment
|
$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.
elementary-number-theory pythagorean-triples
New contributor
$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
elementary-number-theory pythagorean-triples
New contributor
New contributor
edited 8 hours ago
Matthew Daly
5,8651 gold badge8 silver badges28 bronze badges
5,8651 gold badge8 silver badges28 bronze badges
New contributor
asked 8 hours ago
BeMyGuestPleaseBeMyGuestPlease
211 bronze badge
211 bronze badge
New contributor
New contributor
$begingroup$
what do you know about triples in general ...
$endgroup$
– Roddy MacPhee
8 hours ago
add a comment
|
$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
add a comment
|
4 Answers
4
active
oldest
votes
$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) .$$
$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
add a comment
|
$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$.
$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
add a comment
|
$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
$.
$endgroup$
add a comment
|
$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.$$
$endgroup$
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
$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) .$$
$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
add a comment
|
$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) .$$
$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
add a comment
|
$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) .$$
$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) .$$
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
add a comment
|
$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
add a comment
|
$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$.
$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
add a comment
|
$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$.
$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
add a comment
|
$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$.
$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$.
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
add a comment
|
$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
add a comment
|
$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
$.
$endgroup$
add a comment
|
$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
$.
$endgroup$
add a comment
|
$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
$.
$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
$.
answered 8 hours ago
marty cohenmarty cohen
80.4k5 gold badges53 silver badges135 bronze badges
80.4k5 gold badges53 silver badges135 bronze badges
add a comment
|
add a comment
|
$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.$$
$endgroup$
add a comment
|
$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.$$
$endgroup$
add a comment
|
$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.$$
$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.$$
edited 5 hours ago
answered 5 hours ago
poetasispoetasis
8121 gold badge3 silver badges19 bronze badges
8121 gold badge3 silver badges19 bronze badges
add a comment
|
add a comment
|
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$begingroup$
what do you know about triples in general ...
$endgroup$
– Roddy MacPhee
8 hours ago