It was Benjamin Peirce, whose son I boast myself, that in 1870 first defined mathematics as “the science which draws necessary conclusions.” This was a hard saying at the time; but today, students of the philosophy of mathematics generally acknowledge its substantial correctness.
http://www.commens.org/dictionary/entry/quote-minute-logic-chapter-iii-simplest-mathematics-1