You are being given a Circumference with its radius R, where 2R = 6,28. Find all perfect triangles that can be written into the circumference. By perfect triangle I mean a triangle which sides' lenght are integers.

Lets call the sides: a, b, c, then the biggest side can have length of 6 and the smallest length of 1. But I cannot find a link between the 3 sides and the radius without using any sin and cos of the angles in the triangle.

Please help.

Thanks.

]]>