The pulverizer and the wheel
कुट्टक · चक्रवाल · वर्गप्रकृति
Astronomy keeps asking one awkward kind of question: two cycles are turning — when do they coincide? The answer is never a measurement; it is an integer, and finding it means solving equations with more unknowns than constraints. Indian mathematics built two machines for this. The first is the kuṭṭaka, the 'pulverizer', which grinds a linear problem down through mutual division until an answer of integers falls out. The second is the cakravāla, the 'wheel', which turns the pulverizer itself into a moving part and rolls it against the hardest Diophantine problem of the classical world. This essay follows both machines through the texts that state them.
Every quote is a slice from Jñānakośa, the research database behind this atlas; each links to the e-text it was sliced from. Translations are literal renderings; dates are approximate spans of compilation.
The pulverizer, stated
कुट्टक · 499 CE
Āryabhaṭa states the algorithm first — two dense verses at the end of his mathematics chapter, prescribing mutual division and back-substitution up a chain of quotients:
This is Euclid's algorithm run backwards to solve ax + c = by in whole numbers — and its home is not number theory but the calendar: which count of days puts the cycles in step.
Algebra, named for an algorithm
कुट्टाकारात् ऋते न शक्यन्ते · 628 CE
Brahmagupta opens his eighteenth chapter by explaining why it exists — and the reason is the pulverizer. Astronomy's questions 'can generally not be known without it', so the whole discipline is chartered under the algorithm's name, with its curriculum in one verse: zero, negatives, the unknown, elimination, equations — mastery of which makes the ācārya:
Then the procedure itself, in the compressed idiom of a working manual:
See: the same chapter's zero rules, in the zero essay
The wheel that turns the pulverizer
चक्रवाल · 1150 CE
Five centuries later, Bhāskara II aims higher: varga-prakṛti, the 'square-natured' equation Nx² + 1 = y², the problem Europe calls Pell's. His cakravāla — 'the wheel' — feeds the current solution into a kuṭṭaka, chooses the multiplier to keep the remainder small, and turns again. One algorithm has become a subroutine inside another:
With it he solves the case N = 61 — least solution y = 1,766,319,049 — the exact equation Fermat would pose to the mathematicians of Europe as a challenge in 1657, unaware it had been solved five hundred years earlier. Europe's complete method waited for Lagrange in 1768.
Integer answers to celestial questions
The pulverizer was invented because planets and calendars ask integer questions; the wheel was built because the pulverizer existed. Together they are the tradition's purest display of algorithmic thinking: procedures named, composed, and iterated — a mathematics of method rather than of objects, centuries before that became mathematics' self-image anywhere else.
Each quote carries its full citation, edition, revision-pinned source link and confidence grading in Jñānakośa — batch kuttaka-cakravala-pass1 with the standing passes. The next time two cycles you care about drift into step — a launch window, a leap year — an integer answered a question shaped exactly like Brahmagupta's.
The series
Sanskrit texts on the sky and the sciences around it, one thread per essay — readable in any order.