In the triangle ABC, the lengths of three sides are a, B, C, a = n ^ 2-1, B = 2n, C = n ^ 2 + 1 (n is an integer greater than 1) Is it a right triangle? If so, which angle is a right angle?

In the triangle ABC, the lengths of three sides are a, B, C, a = n ^ 2-1, B = 2n, C = n ^ 2 + 1 (n is an integer greater than 1) Is it a right triangle? If so, which angle is a right angle?

a^2+b^2
=(n^2-1)^2+(2n)^2
=n^4-2n^2+1+4n^2
=n^4+2n^2+1
=(n2+1)^2
=c^2
a^2+b^2=c^2,
According to the Pythagorean theorem, this triangle is a right triangle
And C is a right angle