The Arithmetica, the greatest treatise on which the fame of Diophantus rests, purports to be in thirteen Books, but none of the Greek MSS.
The missing books were apparently lost early, for there is no reason to suppose that the Arabs who translated or commented on Diophantus ever had access to more of the work than we now have.
Among the great variety of problems solved are problems leading to determinate equations of the first degree in one, two, three or four variables, to determinate quadratic equations, and to indeterminate equations of the first degree in one or more variables, which are, however, transformed into determinate equations by arbitrarily assuming a value for one of the required numbers, Diophantus being always satisfied with a rational, even if fractional, result and not requiring a solution in integers.
A word is necessary on Diophantus' notation.
Thus Diophantus knew that no number of the form 8n-1-7 can be the sum of three squares.