Let us rewrite the above equation in terms of powers of 2's:
4995+41500+4n=21990+23000+22n=21990[1+21010+22n−1990] (i)
Focusing on the bracketed factor in (i), we observe that:
22010+22n−1990+1=(2505)2+2⋅22n−1991+1 (ii)
and (ii) will be a square when 2n−1991=505, or n = 1248