On the Exponential Diophantine Equation x2 + p = 2n for Primes p ≡ 7(mod8)

Authors

  • Amitabh Kumar Veer Kunwar Singh University

DOI:

https://doi.org/10.59890/ijgsr.v4i2.176

Keywords:

Ramanujan–Nagell Equation, Exponential Diophantine Equation, Modular Arithmetic, Prime Congruences, Computational Search

Abstract

We revisit the Ramanujan–Nagell type exponential Diophantine equation x2+p=2n,  x, n ∈ Z ≥ 1,  p an odd prime,  with emphasis on the congruence class p ≡ 7(mod8). Using elementary modular arguments, we show that for n ≥ 3 the congruence p ≡ 7(mod8) is a necessary condition for solvability, but not sufficient. We then propose a reproducible search methodology (over bounded exponents and odd squares) and compile a corrected set of illustrative solutions for several primes p ≡ 7(mod8) (including multiple-solution phenomena, e.g. p = 23). Finally, we establish a clean reduction showing that the variant x2 + 7 = 4m has a unique positive solution (x, m) = (3, 2), by linking it to the classical Ramanujan–Nagell equation

References

“Ramanujan–Nagell equation,” Wikipedia (accessed 2026).

Fujita, Y., & Le, M. “A note on the generalised Ramanujan–Nagell equation x2 = 2m + pn,” Bulletin of the Australian Mathematical Society (online, 2025).

Heuberger, C., & Le, M. “On the Generalized Ramanujan–Nagell Equation x2 + D = pz ” Journal of Number Theory (1999).

Le, M., & Soydan, G. (2020). A brief survey on the generalized Lebesgue–Ramanujan–Nagell equation. arXiv:2001.09617.Available at: arXiv:2001.09617

Le, M., & Soydan, G. “A brief survey on the generalized Lebesgue–Ramanujan–Nagell equation,” arXiv:2001.09617 (2020).

Published

2026-03-05

How to Cite

Kumar , A. (2026). On the Exponential Diophantine Equation x2 + p = 2n for Primes p ≡ 7(mod8). International Journal of Global Sustainable Research, 4(2), 231–236. https://doi.org/10.59890/ijgsr.v4i2.176