this is actually an area of future interest for me. Studying the philosophy of mathematics as it evolved over time.. I believe, possibly incorrectly, that contemporary mathematics has a more controversial philosophical premise than what used to be the case in ancient times.. [ the Ancient Greeks for a over generalised example, were great at using mathematics to express a philosophical point of logic or rational in an abreviated form [ aka Mathematics. ]
The premise being that all sciences stem from a philosophical genesis, hence a University Faculty of Philosophy includes all or most sciences [typically]
Some thing to get "in to" in the future for sure....
Riemannian Geometry for example from a man in the early 1800's no doubt had some pretty heavy philosophical premises underpinning it.
Underlined .. sounds like a most worthy interest. You might be interested to know (if you don't already) that the term mathematics 'mathematika' to the ancient Greeks meant 'that which is learnt' and encompassed most if not all knowlegde, including number, geometry, optics, science .. even wisdom.