Let and be coprime positive integers with
, and let be an odd prime with . Further, let denote the number of positive integer solutions of the equation
. In this paper, we prove that
except for
, where are positive integers.
Key Words: Exponential diophantine equation; generalized Ramanujan-Nagell equation; number of solutions; upper bound.