Lagrange's four-square theorem
Lagrange's four-square theorem is a theorem.
All 2 facts, and where they come from
Facts
2 facts · 0 confirmed by two sources · 0 cited · 2 from one source
Where this comes from
Papalocal keeps its own record. It started from these sources; what each one said is kept here as it was copied, so a change on their side never changes this page by itself. Tap one to read its version.
What Wikidata says · copied November 18, 2026 · revision 2550271702
- Described as
- theorem
- What it is
- theorem
- Named after
- Joseph-Louis Lagrange
- Wikipedias with a page
- 28
Wikidata item Q756946 (wikidata.org/wiki/Q756946), public domain (CC0). Copied 2026-11-18.
What Wikipedia says · copied November 18, 2026 · revision 1383289167
Lagrange's four-square theorem, also known as Bachet's conjecture, states that every nonnegative integer can be represented as a sum of four non-negative integer squares. That is, the squares form an additive basis of order four:
p=a2+b2+c2+d2,
where the four numbers a,b,c,d are integers. For illustration, 3, 31, and 310 can be represented as the sum of four squares as follows:
3=12+12+12+0231=52+22+12+12310=172+42+22+12=162+72+22+12=152+92+22+02=122+112+62+32.
This theorem was proven by Joseph-Louis Lagrange in 1770. It is a special case of the Fermat polygonal number theorem.
From the Wikipedia article “Lagrange's four-square theorem” (en.wikipedia.org/wiki/Lagrange's_four-square_theorem), by its contributors, under CC BY-SA 4.0 (creativecommons.org/licenses/by-sa/4.0/). Copied 2026-11-18; not changed.
Confirmed Two sources agree. Cited One source, and it names where it got it. One source One source, without a reference of its own. Sources disagree The sources disagree. We show the best-supported value and keep theirs below.
