I'll leave that omitted to keep things concise. I think it is quite common to assume a domain of natural numbers when talking about primes.
> then at least one of a and b is 1 or -1
I think you mean exactly one of a and b is 1 or -1
> then at least one of a and b is 1 or -1
I think you mean exactly one of a and b is 1 or -1
You really do have to consider negative factors.