Tālapatram

Aryabhata's Number System: Verses That Encode Values

The alphabetic notation that compressed astronomical data into poetry

Learn Aryabhata's unique alphabetic number system that allowed him to express large astronomical values in compact, memorable verses.

The Astronomer's Code

In 499 CE, a twenty-three-year-old named Āryabhaṭa sat in Kusumapura, the scholarly quarter of Pāṭaliputra near the Ganges, and faced a problem that has no easy solution in any era. He needed to fit nine-digit numbers into a 121-verse book written in strict Sanskrit meter. The Moon's count of revolutions in a cosmic cycle was 57,753,336. Jupiter's was 364,224. Saturn's was 146,564. Each planet needed its own parameter, and each one had to survive centuries of oral transmission without a digit going wrong. The book would be memorized and recited aloud. There was no space for numbers written out in full.

Āryabhaṭa built a code from the Sanskrit alphabet. Each consonant carried a value. Each vowel attached a power of ten. A nine-digit constant collapsed into a cluster of two or three syllables that fit neatly into a line of āryā meter. When a URL shortener turns a long web address into a seven-character link, or when Git prints a short hash for thousands of files, the same instinct is at work. Āryabhaṭa had it fifteen centuries earlier. His code is called the varṇasaṃjñā, the letter-designation system, and it is the oldest surviving compression scheme in the history of mathematics.

Aryabhata writing the letter-numeral cipher on palm leaf

Why a Mathematical Book Needed a Compression Scheme

To understand why Āryabhaṭa invented the system, you have to understand what his medium demanded. The Āryabhaṭīya is only 121 verses long. In those 121 verses it compresses the entire working apparatus of mathematical astronomy: a theory of place value, a sine table, rules for areas and volumes, methods for solving indeterminate equations, a model of planetary motion, and a set of astronomical constants precise enough to predict eclipses. The constants are huge. The number of revolutions the Sun makes in a mahāyuga of 4,320,000 years is itself 4,320,000. The number of revolutions of the Moon in the same period is 57,753,336. Jupiter, Saturn, Mars, Mercury, and Venus each have their own nine- or ten-digit parameter. A mathematical astronomer needed every one of these numbers as raw input to every calculation.

More in Dashamana: The Decimal Place Value System

All lessons in Dashamana: The Decimal Place Value System · Indian Mathematics: Ancient Genius, Modern Foundations ebook course