can you help me please for solving this dophantine equation : x^2=y^p+1
and if you can give me a general method to studying such equation : x²=y^p+t

Thanks