Let be a point strictly in the interior of a scalene triangle with integer side lengths, and let . For each triangle , let
Now, consider all triangles for which are all integers. The minimum value of for such a triangle can be obtained as shown in the diagram, and scaling it by a factor of 2 gives us the third smallest value of . What is the second smallest value of
You may use a calculator for the final step of your calculation.
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.
Use stupid and not optimal search with Python. Answer 1 0 2 9 .
For optimal solution we can generate primitive the triples ( a , b , c ) = ( 2 m n + n 2 , m 2 − n 2 , m 2 + m n + n 2 ) . The case m ≡ n m o d 3 is nonprimitive and has already been covered by a smaller (possibly primitive) case. And then we generate the set S of the triples ( k a , k b , k c ) with integer k and find solutions in set S .