You could also say that the purpose of maths is falsifiable philosophy.
Calculus (e.g. differentiation), for example, is mind-blowing when taking it seriously, and not only useful.
The idea of "speed at an infinitely short moment", for example, is philosophy!