Depends where you position yourself in philosophy of mathematics, I for one am a believer in math being a "logical science", meaning it's the empirical discovery of the properties of quantities. You can actually find back all of calculus with pebbles, as demonstrated by John Stuart Mill.