m2 - 1, 2m, m2 + 1 form a Pythagorean triplet
As the given number (15) is odd, it can't be of the form 2m.
So, m2−1=15
⇒m2= 16 → 16 is a perfect square. So, m = 4
Hence, 2m = 2 x 4 = 8
and
m2 + 1 = 42 + 1 = 16 + 1 = 17
So, a = 8 and b = 17
Find 'a' and 'b'
152+a2=b2
Find a and b from below 152 + a2 = b2
Find a and b from 152 + a2 = b2.