Find all integer solutions to

Where

is prime.

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.