Go back
slighty pythagoras

slighty pythagoras

Posers and Puzzles

c

Joined
29 Apr 05
Moves
827
Clock
04 Jan 12
Vote Up
Vote Down

This one is quite simple to understand, but so far I could only think of trial-error to solve it (which I didn't succeed in).

a²+b²=c², that much we know. Now try to find a set of a, b and c that makes a+b+c=1000.

tvochess

Joined
08 Apr 09
Moves
20004
Clock
04 Jan 12
Vote Up
Vote Down

It's not so difficult. It's actually making a right-angled triangle from a piece of rope with given length.

E.g.:
1) 3²+4²=5² and 3+4+5 = 12
2) 100/12 = 8,33.. --> let's call this S
3) (3S)² + (4S)² = S²(3²+4² ) = S²5² = (5S)² and 3S+4S+5S = 12S = 100

Answer: 25, 100/3, 125/3

You can do this with any choice of a,b,c for which pythagoras holds.

Your question is more difficult if a,b,c are required to be natural numbers or integers, but then it may not exist.

c

Joined
29 Apr 05
Moves
827
Clock
04 Jan 12
Vote Up
Vote Down

Okay, I understood your solution. In fact I was instinctively thinking of natural numbers when I tried. So I rechecked the page where I found it and it says indeed natural numbers only. If you try again now, also note that a+b+c = 1000 and not 100. Otherwise it will be difficult for you to find the solution. 😉

talzamir
Art, not a Toil

60.13N / 25.01E

Joined
19 Sep 11
Moves
59234
Clock
04 Jan 12
Vote Up
Vote Down

hmm..

a^2 + b^2 = (1000 - a - b)^2
..

I see no natural number solutions for except the trivial where for c = 500.

Proving that by brute force is feasible but uninteresting.. hmm.. for what possible sums of a + b + c is there an all natural number triplet..?

tvochess

Joined
08 Apr 09
Moves
20004
Clock
04 Jan 12
Vote Up
Vote Down

Originally posted by talzamir
hmm..

a^2 + b^2 = (1000 - a - b)^2
..

I see no natural number solutions for except the trivial where for c = 500.

Proving that by brute force is feasible but uninteresting.. hmm.. for what possible sums of a + b + c is there an all natural number triplet..?
Maybe you can reduce the brute force work using these Pythagorean triples:

http://en.wikipedia.org/wiki/Pythagorean_triple

Shallow Blue

Joined
18 Jan 07
Moves
12477
Clock
04 Jan 12
Vote Up
Vote Down

Originally posted by talzamir
Proving that by brute force is feasible but uninteresting.. hmm.. for what possible sums of a + b + c is there an all natural number triplet..?
That's what we have computers for...

200, 375, 425.


Richard

talzamir
Art, not a Toil

60.13N / 25.01E

Joined
19 Sep 11
Moves
59234
Clock
04 Jan 12
Vote Up
Vote Down

That is helpful indeed. So, using the buffed-up version of Euclid's method of finding Pythagorean triplets,

a = k (m^2 - n^2)
b = k (2mn)
c = k (m^2 + n^2)

where k, m , n are all integers and m > n, what are the values that a + b + c can get?

a + b + c = k(m^2 - n^2 + 2mn + m^2 + n^2) = 2 k m (m n)

So the possible values are even, and are divisible by a square.

n = 2, m = 5, k = 10 would give 2 x 10 x 5 x 5 x 2 = 1,000.

tvochess

Joined
08 Apr 09
Moves
20004
Clock
05 Jan 12
Vote Up
Vote Down

Originally posted by talzamir
That is helpful indeed. So, using the buffed-up version of Euclid's method of finding Pythagorean triplets,

a = k (m^2 - n^2)
b = k (2mn)
c = k (m^2 + n^2)

where k, m , n are all integers and m > n, what are the values that a + b + c can get?

a + b + c = k(m^2 - n^2 + 2mn + m^2 + n^2) = 2 k m (m n)

So the possible values are even, and are divisible by a square.

n = 2, m = 5, k = 10 would give 2 x 10 x 5 x 5 x 2 = 1,000.
Slight mistake, your formule should read:

a+b+c = k(m^2 - n^2 + 2mn + m^2 + n^2) = k(2m^2 + 2mn) = 2km(m+n)

Then choose: k = 25, m = 4, n = 1
--> a = 375, b = 200, c = 425

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.