Let
ω=∠PAB=∠PBC=∠PCA. In triangle
ABP, the angles at
A and
B are
ω and
B−ω, so
∠APB=180∘−B and the law of sines gives
BP=sinBcsinω. In triangle
BCP, the angles at
B and
C are
ω and
C−ω, so
∠BPC=180∘−C and
BP=sinCasin(C−ω).
Equating and substituting
a=2RsinA, c=2RsinC yields
sin2Csinω =sinAsinBsin(C−ω). Expanding
sin(C−ω) and dividing by
sinAsinBsinCsinω, sinAsinBsinC=cotω−cotC, and since
sinC =sin(A+B) =sinAcosB +cosAsinB, the left side is
cotA+cotB. Hence
cotω=cotA+cotB+cotC.
Using
cotA=4Kb2+c2−a2 and its analogues, where
K is the area,
cotω=4Ka2+b2+c2=4⋅84169+196+225=336590=168295, since the
13-
14-
15 triangle has area
84. So
tanω=295168, which is in lowest terms, and
m+n=168+295=463.