Complex sentence: Boscovich's theory dealt with non-Euclidean and higher dimensional geometry, this prompted the mathematicians such as Gauss and Riemann to then investigate that area of mathematics.
Split into simpler sentences: Boscovich's theory dealt with non-Euclidean and higher dimensional geometry. This prompted mathematicians, such as Gauss and Riemann, to investigate that area of mathematics.