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
-
35 Comments
Show
32 older comments
Mohit
on 16 Aug 2022
very good problem
Sharathchandra Prakash Reddy
on 14 Apr 2023
Modified fibonacci sequence
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
Solution Comments
Show commentsProblem Recent Solvers5263
Suggested Problems
-
1565 Solvers
-
Basics: 'Find the eigenvalues of given matrix
423 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1883 Solvers
-
785 Solvers
-
Find x rows where the sum of the numbers is the maximum
455 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!