Problem 2024. Triangle sequence
A sequence of triangles is constructed in the following way:
1) the first triangle is Pythagoras' 3-4-5 triangle
2) the second triangle is a right-angle triangle whose second longest side is the hypotenuse of the first triangle, and whose shortest side is the same length as the second longest side of the first triangle
3) the third triangle is a right-angle triangle whose second longest side is the hypotenuse of the second triangle, and whose shortest side is the same length as the second longest side of the second triangle etc.
Each triangle in the sequence is constructed so that its second longest side is the hypotenuse of the previous triangle and its shortest side is the same length as the second longest side of the previous triangle.
What is the area of a square whose side is the hypotenuse of the nth triangle in the sequence?
Solution Stats
Problem Comments
-
37 Comments
Show
34 older comments
Kirk Roffi
on 11 Dec 2023
Advised to carefully read the problem description and notice that the second to last sentence offers a code structure. -KR
Kshitij Patki
on 20 Mar 2025
wow
Kallen
on 17 Jul 2025
Nice! Fun to relate a geometric procedure to the fibonacci sequence.
Solution Comments
Show commentsProblem Recent Solvers5487
Suggested Problems
-
Find the peak 3n+1 sequence value
2538 Solvers
-
Number of 1s in the Binary Representation of a Number
463 Solvers
-
424 Solvers
-
Multiples of a Number in a Given Range
781 Solvers
-
1714 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!