Geometry Solver
Home › Counting and number theory

Find prime pairs satisfying p squared minus 2q squared equals 1

Check the exceptional even prime first

Two is the only even prime. If an equation changes behavior when one prime is even, test 2 separately, then use modular arithmetic to rule out all odd primes at once.

Problem

Find every ordered pair of prime numbers satisfying .

Answer

The only pair is .
Substitution gives $9-2(4)=1$.

Step-by-step solution

1. Test the even prime

If , the equation gives , so the prime value is .

2. Rule out odd primes

Every other prime is odd, so leaves remainder 1 modulo 4. Then would leave remainder 3 modulo 4. A square can leave only remainder 0 or 1 modulo 4, so no odd works.

3. Conclude

The verified pair is therefore unique.

Add to Chrome - solve your own

Screenshot any problem on your screen and get the steps. Chrome on a computer; free.