← RoseCode

ROSECODE 149

Similar triangles

sinan · Math ·

For a,b,c,d all being positive integers, consider 2 similar triangles with the following lengths:
T1: a,b,c (a < b < c)
T2: b,c,d (b < c < d)


What is the smallest pair of such triangles for which the ratio (a+b+c)/(a+b-c) first exceeds 10^10?

Input format: perimeter of T1 (a+b+c)