Are these minus signs?
Then you are asking us to solve the congruence, given arbitrary q, find a prime such that:
But you said the only solution is p=1,q=1, which is true, except that p is not prime.
Find all integer solutions to
I know that the only solution is 1,1 (Using brute force through my graphing calculator)
This is actually part of another question in which I tried to solve and got stuck here. (I'm pretty sure what I've done before this is correct)
So if being prime is not used, it's alright.