John, Ramanujan was good, but possibly not that good. Such numbers, ie, the least or greatest having certain properties, may well have been known to him, so all he had to do was recall it. The ability to do lightning calculation is not the same as mathematical genius. Hugh.