History of mathematical notation back to any school or period before that of the Ionian Greeks, but the subsequent history may be divided into periods, the distinctions between which are tolerably well marked. Greek mathematics, which originated with the study of geometry, tended from its commencement to be deductive and scientific. Since the fourth century AD, Pythagoras has commonly been given credit for discovering the Pythagorean theorem, a theorem in geometry that states that in a right-angled triangle the area of the square on the hypotenuse (the side opposite the right angle) is equal to the sum of the areas of the squares of
Proofs of Fermat's theorem on sums of two squares appears in article 182 of the Disquisitiones Arithmeticae. An (integral binary) quadratic form is an expression of the form formula_105 with formula_106 integers. A number formula_107 is said to be "represented by the form" if there exist integers formula_108 such that formula_109. Fermat's theorem on sums of two squares is then equivalent to the statement that a prime formula_82 is represented by the form formula_111 (i.e., formula_112, formula_113) exactly when formula_82 is congruent to formula_91 modulo formula_116. The discriminant of the quadratic form is defined to be formula_117. The discriminant of formula_111 is then equal to formula_119. Two forms formula_120