Riemann (1826–1866) was a child prodigy who invented a perpetual calendar at age 14 as a gift for his parents and went on to study in the great math center of Göttingen, Germany, under Carl Friedrich Gauss, who had been pioneering the geometry of curved surfaces.