a2−b2=(a−b)(a+b)
Since, and b are odd primes.
So let a=2k+1
b=2k′+1
∴a−b=2k+1−2k′−1
=2k−2k′
=2(k−k′) is even
a+b=2k+1+2k′+1
=2k+2k′+2
=2(k+k′+1) is even
∴ Neither (a-b) nor (a+b) is equal to 1.
∴ Neither of the two divisors (a−b)and(a+b)of(a2−b2) is equal to 1.
∴(a2−b2) is composite.
since, out of the two divisors of a prime number p, one must be equal to 1