a and b are positive integers and a2−b2 is a prime number.
Since, a2−b2=(a+b)(a−b) product of two numbers. ∴ Either a+b=1 or a−b=1
Case I : a+b=1⇒ Either a=0 or b=0 then a2−b2=1 or −1
which is not a prime number. ∴ This case is not possible
Case II : a−b=1→a and b can be taken anything with b<a.
ln this case a2−b2=a+b is a prime number. ∴a2−b2=a+b.