In triangle ABC, BC=a=7, AC=b=8, AB=c=α∈N, and cosA=2/3.
Find α using the cosine rule.
a2=b2+c2−2bccosA
49=64+α2−2(8)(α)(2/3)=64+α2−332α
α2−332α+15=0
3α2−32α+45=0
α=632±1024−540=632±484=632±22
α=9 or α=5/3 (not a natural number). So α=9.
Find cosC using the cosine rule.
c2=a2+b2−2abcosC
81=49+64−2(7)(8)cosC
81=113−112cosC
cosC=11232=72
Compute cos3C.
cos3C=4cos3C−3cosC=4(72)3−3(72)=34332−76=34332−294=343−262
Compute the expression.
49cos3C+42=49⋅343−262+42=7−262+42=7−262+294=732
So nm=732 with gcd(32,7)=1. Therefore m+n=32+7=39.
The answer is 39.