Jump to content

User:RobHar/Sandbox14

From Wikipedia, the free encyclopedia

Sums of three squares

[edit]

The problem of writing a number as a sum of three squares dates at least as far back as Diophantus, who gave a necessary condition for a number of the form 3k + 1 to be so expressible (namely k cannot be 2 modulo 8). This case was improved upon by Bachet with Fermat finally giving the correct sufficient condition.[1] A general positive integer n can be written as the sum of three squares if, and only if, it is not of the form 4e(8k + 7). Legendre attempted a proof of this characterization, but required Dirichlet's theorem on primes in arithmetic progressions (which had yet to be proved).[2] Gauss gave the first complete proof in his Disquisitiones (articles 291–292), where he, in fact, also proves a formula for the number of primitive representations r
3
(n) of n as a sum of three squares:[3]

where h(−n) is the class number of primitive positive definite binary quadratic forms of discriminant −n.

Notes

[edit]
  1. ^ Dickson 1920, Chapter VII
  2. ^ Davenport 1989, §V.5
  3. ^ Iwaniec 1997, Equation (11.29)

References

[edit]
  • Davenport, Harold (1989) [1952], The higher arithmetic (5th ed.), Cambridge University Press
  • Dickson, Leonard Eugene (1920), History of the theory of numbers, Volume II, Diophantine analysis
  • Iwaniec, Henryk (1997), Topics in classical automorphic forms