シュリニヴァーサ・ラマヌジャン
(or equivalently, of finding triangular Mersenne numbers) in 1943, independently of Srinivasa Ramanujan who had asked the same question in 1913.