  We consider the Lebesgue-Ramanujan-Nagell type equation $x^2+5^a13^b17^c=2^m
y^n$, where $a,b,c, m\geq 0, n \geq 3$ and $x, y\geq 1$ are unknown integers
with $\gcd(x,y)=1$. We determine all integer solutions to the above equation.
The proof depends on the classical results of Bilu, Hanrot and Voutier on
primitive divisors in Lehmer sequences, and finding all $S$-integral points on
a class of elliptic curves.
