I think you mean the roots are prime numbers.Let the two roots be primes p and qThen the equation factorises to (x - p)(x - q) = 0 which can beexpanded to give:x² - (p + q)x + pq = 0Which comparing coefficients of the original gives:a = p + q2b = pqas b is an integer, pq must be even,→ at least one of p or q must be even→ as they are both primes and at least one is even, it MUST be 2as 2 is the ONLY even primeAssume p is an even prime, ie p = 2→ a = 2 + q2b = 2q → b = q→ a - b = (2 + q) - q = 2(It doesn't matter if the other prime is even (2) or not as itcancels out from a - b.)