@Dr Sardonicus

It is always illuminating and friendly getting a response from you, thanks a lot for your clear and precious words.

If p(x1)=a(x1)²+b(x1)+c and

If q(x1)=A(x1)²+B(x1)+C

with discr (p(x))= - discr (q(x))

Normally I would make a probablistic prime test for p(x1) and q(x1) seperately in order to check primality for both.

Can I combine and speed up the prime checking, assuming that both are primes ?