Albert1
- 1,221
- 0
very nice!kaliprasad said:let AB = y and AC= x
$y^2-x^2=n^2$
or$(y+x)(y-x) = n^2$
as n is prime
$y+x = n^2$ and $y-x=1$ as they cannot be both n
so $AB+AC = n^2$ and $AB+AC+BC=n^2+n$