I'm confused about the statement of the problem. Is x a number of the form n^2-5 that is greater than the largest perfect numbers and a Mersenne primes that are in the interval, say, (0, 110) (and is itself also in (0,100))? In that case you still have 59, 76, 95.