History of Math

Plimpton 322 and Babylonian Triples

Plimpton 322 is an Old Babylonian clay tablet, written around 1800 BCE, whose fifteen rows relate to Pythagorean triples. This demo generates triples with the standard rule (m²−n², 2mn, m²+n²), shows real tablet rows in base-60, and highlights a match after normalization.

6 minLevel 3/3The interactive stage stays ad-free.
m4n1Legs8, 15Hypotenuse17d²/l²4.515625Tablet matchnone
rowshort side slong side ldiagonal dd²/l²
Generated triple
m² − n² = 15 · 2mn = 8 · m² + n² = 17normalized: 8 : 15 : 17d/l in base 60 ≈ 2;07:30
Not a row of this tablet slice. Try m = 2, n = 1 for (3, 4, 5), or m = 12, n = 5 for row 1.

rule: (m² − n²)² + (2mn)² = (m² + n²)² · current: 8² + 15² = 17²

Base 60. Babylonian scribes wrote numbers by place value in powers of 60, so 1,59 means 1×60 + 59 = 119. Because the power of 60 was not marked, a string like 1,59 can also mean 1 + 59/60. That ambiguity is why the tablet’s columns are reconstructed with some guesswork.
Purpose still debated. Neugebauer and Sachs read the tablet as number theory, others as a teacher’s list of exercises built from reciprocal pairs, and some older popular accounts called it a trigonometric table. None of these readings is settled, and the demo does not assume one.

Pick m and n and the standard rule builds a right triangle. The table lists real rows from the tablet in sexagesimal notation, with the ratio d²/l² that the first column most likely records. When your triple reduces to one of the rows, it is highlighted. The tablet contains copy errors and damage, so reconstructed entries vary between editions.

What you are seeing

1

Choose m and n. The standard generating rule gives legs m²−n² and 2mn with hypotenuse m²+n², always satisfying a² + b² = c².

2

The tablet rows are displayed in sexagesimal place value: 1,59 means 1×60 + 59. The first column most likely records d²/l², which is why the long leg l is a regular number.

3

After dividing out the common factor, the generated triple is compared with the tablet slice. A match highlights the row, but scaling can differ from the tablet’s own multiplier.

Why it matters

Plimpton 322 shows that Babylonian scribes worked systematically with right-triangle numbers long before Pythagoras. It is also a lesson in historical caution: the numbers are clear, but what the table was for is still argued about.

Complexity & details

Generating one triple is O(1). Reducing it with the Euclidean algorithm costs O(log min(a,b)). Comparing against 15 rows is O(1).

Frequently asked questions

Does the tablet prove Babylonians knew Pythagoras’ theorem?+

It shows they used the rule a² + b² = c² and could generate exact triples. Whether they stated or proved it as a general theorem is a separate question, and the evidence does not settle it.

Is the tablet a trigonometric table?+

That reading was popularized but is widely criticized as anachronistic, since Babylonian mathematics shows no concept of measured angle. Most current scholars prefer number-theoretic, algebraic, or teaching-aid readings.