by bbayles·2y ago·view on hn ↗The story you're thinking of is about Leonhard Euler, though it may not have actually happened (see Wikipedia on Euler).