sorry about that i was on the amateur side because he so clearly fits the definition in the technical sense he was never paid to do math however i just asked google books for fermat was a mathematician and fermat was an amateur mathematician both queries primarily showed rs math books but the first gave hits and the second so unless someone can come up with a counterargument i guess he should be called a mathematician tout simple with clarification elsewhere that he earned his sous lawyering