Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thank you so much. With the referene you mentioned, I found a comprehensive treatment on this problem by J. H. E. Cohn ( "The diophantine equation x^2 + C = y^n", Acta Arithmetica,1993 ). More precisely, x^2+1=y^n has no solution for x, y being positive integers and n greater than or equal to 3. Now, this question is closed.