If 152+a2=b2, then find a and b respectively.
8, 17
For an integer m≥2, the numbers m2−1,2m and m2+1 form a Pythagorean triplet.
As the given number (15) is odd, it can't be of the form 2m.
⇒m2−1=15
⇒m2=16=42
⇒m=4
2m=2×4=8
⇒m2+1=42+1=16+1=17
So, a=8 and b=17.