document.write( "Question 1004129: The Right Right Triangle\r
\n" ); document.write( "\n" ); document.write( "What is the largest right triangle with integer length sides (in inches) whose perimeter (measured in inches) has the same numerical value as its area (measured in square inches)?
\n" ); document.write( "

Algebra.Com's Answer #620673 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Call the legs a and b.
\n" ); document.write( "The area is
\n" ); document.write( "A = (1/2)ab
\n" ); document.write( "The perimeter is
\n" ); document.write( "P = a + b + sqrt(a^2 + b^2)
\n" ); document.write( "so that we need to solve
\n" ); document.write( "a + b + sqrt(a^2 + b^2) = (1/2)ab
\n" ); document.write( "sqrt(a^2 + b^2) = (1/2)ab - a - b
\n" ); document.write( "This might be very tricky to solve...
\n" ); document.write( "I tried some values and found 5, 12, and 13 work.
\n" ); document.write( "
\n" ); document.write( "
\n" );