On the number of solutions to the generalized Ramanujan–Nagell equation
摘要
Let D be a positive integer and p an odd prime with