So:Originally Posted byTexasGirl

,

Rearranging to solve these for and setting the results equal:

,

gives:

.

Rearranging again gives:

.

Then:

,

but the LHS is divisible by , so is divisible by (as is prime).

But , so must be , then: , and .

QED.