Project Euler 613 - Pythagorean Ant
Project Euler 613 - Pythagorean Ant
Official link: https://projecteuler.net/problem=613
Thought Process
Thought Process
Please do not read further if you want to know the complete solution. This problem is not suitable for hints!
Using the triangle on the right we can start making some calculations
We can then use our good friend WolframAlpha
Interactive Code
Interactive Code
There is no interactive code for this problem, but I did make a simulation and got within a few decimal places of the answer, I will include the code below