Given is an integer sided triangle with . is the angular bisector of angle . is the tangent at to the circumscribed circle of . is a line parallel to through . The intersection of and is called .
How many triangles with a perimeter not exceeding exist such that has integral length?
Note: This problem is a more difficult version of Problem 296. Please pay close attention to the differences between the two statements.