Science, generally is analyzing information gathered from observing phenomena, and coming up with theories to try and explain the phenomena. Then, attempting to predict a new phenomenon before it happens (when we can do that we usually say that we have discovered "a fundamental law of nature"),and when we can consistently produce the same result, this is regarded as proof of the theory.
Mathematics is different. it does not rely on these experiments in order to claim the discovery of a new truth. Theres a distinction between what Mathematics claims as proof in contrast to science. For a scientist, ten experiments with consistent results might constitute proof, For a mathematician, a million successful experiments is not enough proof. Instead, mathematicians rely on logic. Mathematics is very often inspired by nature, but it is a purely intellectual pursuit. It is just a bunch of ideas in our heads, like philosophy. Pure abstract reasoning.
Mathematics is so intricately related with science, Mathematics being the language used to describe scientific theories, but the difference between methods for arriving at proof appear to make the notion of mathematics as a science inconsistent. Is Mathematics considered a science?