Find the largest possible right triangle (in terms of area) with
Submit your answer as the hypotenuse of this triangle.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The OEIS also says that consecutive Pell numbers P n , P n + 1 can generate pythagorean triples with sides differing by 1 using the general formula for pythagorean triples
⎩ ⎪ ⎨ ⎪ ⎧ a = P n 2 − P n + 1 2 b = 2 P n P n + 1 c = P n 2 + P n + 1 2
So, I found 13860 and 33461, which also give 1311738121.
If you're going to use OEIS, you might as well use A001653 , "numbers k such that 2 k 2 − 1 is a square." These are precisely the desired hypotenuses: ⟺ ⟺ c 2 2 c 2 2 c 2 − 1 = a 2 + ( a + 1 ) 2 = 4 a 2 + 4 a + 2 = ( 2 a + 1 ) 2 This is equivalent to 2 c 2 − 1 being an odd square (note that 2 c 2 − 1 can never be an even square).
Problem Loading...
Note Loading...
Set Loading...
Hypotenuses of Pythagorean triangle whose sides differ by 1 are every other elements of the Pell numbers: a(0) = 0, a(1) = 1; for n > 1, a(n) = 2*a(n-1) + a(n-2), starting with the element whose value is 5. The sequence is A000129 .
Here is a sufficient subsequence of A000129 with the bit length of number as a unsigned binary integer. 5 2 9 1 6 9 9 8 5 5 7 4 1 3 3 4 6 1 1 9 5 0 2 5 1 1 3 6 6 8 9 6 6 2 5 1 0 9 3 8 6 1 3 9 6 5 2 2 5 0 5 8 6 8 1 1 3 1 1 7 3 8 1 2 1 7 6 4 5 3 7 0 0 4 5 3 5 8 1 0 1 3 1 6 1 8 2 1 2 3 2 6 2 8 3 1 3 3
It can be seen easily that the answer is 1 3 1 1 7 3 8 1 2 1 . The other two sides are { ⌊ 2 1 3 1 1 7 3 8 1 2 1 ⌋ , ⌈ 2 1 3 1 1 7 3 8 1 2 1 ⌉ } or { 9 2 7 5 3 8 9 2 0 , 9 2 7 5 3 8 9 2 1 } and 9 2 7 5 3 8 9 2 0 2 + 9 2 7 5 3 8 9 2 1 2 is 1 3 1 1 7 3 8 1 2 1 .