The Mathematical Career of Pierre de Fermat, 1601-1665