Bhagol
Home › Essays › The pulverizer and the wheel

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:

Āryabhaṭīya, Gaṇita 32–33 · 499 CE
अधिकाग्रभागहारं छिन्द्यातूनाग्रभागहारेण । शेषपरस्परभक्तं मतिगुणं अग्रान्तरे क्षिप्तम् । । २.३२ । । अधसुपरिगुणितं अन्त्ययुजूनाग्रछेदभाजिते शेषम् । अधिकाग्रछेदगुणं द्विछेदाग्रं अधिकाग्रयुतम् । । २.३३ । ।
Divide the divisor of the greater remainder by the divisor of the smaller remainder. The [resulting] remainders [are to be] divided by one another; [the last is] multiplied by a chosen number and added to the difference of the remainders. Multiply [the column] below by the one above and add [the next below](?); the remainder, when [the sum] is divided by the divisor of the smaller remainder, multiplied by the divisor of the greater remainder and added to the greater remainder, is the [number] answering to the two divisors.

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:

Brāhmasphuṭa-siddhānta 18.1–2 · 628 CE
प्रायेण यतस् प्रश्नास् कुट्टाकारात् ऋते न शक्यन्ते । ज्ञातुम् वक्ष्यामि ततस् कुट्टाकारम् सह प्रश्नैस् ॥ कुट्टक-ख-ऋण-धन-अव्यक्त-मध्य-हरण-एक-वर्ण-भावितकैस् । आचार्यस् तन्त्र-विदाम् ज्ञातैस् वर्ग-प्रकृत्या च ॥ ===कुट्टकम्===
Since questions can generally not be known without the pulverizer (kuṭṭākāra), I shall speak of the kuṭṭaka together with [the topics] of zero, negatives and positives, the unknown, elimination of the middle term, single-unknown [equations] and the product [of unknowns]: through these one becomes a master among the knowers of the treatises.

Then the procedure itself, in the compressed idiom of a working manual:

Brāhmasphuṭa-siddhānta 18.6 · 628 CE
छेद-वधस्य द्वि-युगम् छेद-वधस् युग-गतम् द्वयोस् अग्रम् । कुट्टाकारेण एवम् त्रि-आदि-ग्रह-युग-गत-आनयनम् ॥
[In the pulverizer:] the divisor-product joined with twice the remainder-pair, and the divisor-product gone to the pair — the remainder of the two [is found]: [so runs the procedure] in the kuṭṭākāra.

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:

Bījagaṇita 75 (cakravāla) · 1150 CE
ह्रस्व-ज्येष्ठ-पद-क्षेपान् भाज्य-प्रक्षेप-भाजकान् । कृत्वा कल्प्यस् गुणस् तत्र तथा प्रकृतितस् च्युते ॥ बीज-७५च/ गुण-वर्गे प्रकृति-ऊने अथ वा अल्पम् शेषकम् यथा । बीज-७५ज/ तत् तु क्षेप-हृतम् क्षेपस् व्यस्तस् प्रकृतितस् च्युते ॥ बीज-७५ट/ गुण-लब्धिस् पदम् ह्रस्वम् ततस् ज्येष्ठम् अतस् असकृत् । बीज-७५ड/ त्यक्त्वा पूर्व-पद-क्षेपान् चक्र-वालम् इदम् जगुस् ॥ बीज-७५त/ चतुर्-द्वि-एक-युतौ एवम् अभिन्ने भवतस् पदे । बीज-७५द/ चतुर्-द्वि-क्षेप-मूलाभ्याम् रूप-क्षेप-अर्थ-भावना ॥
Making the lesser root, the greater root and the additive into the dividend, the additive and the divisor [of a pulverizer], the multiplier is to be devised there [so that the interpolator is small] — [and the process repeats].

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.

  1. Five stars the texts kept watching
  2. The sky that moved
  3. The shadow explained
  4. The instruments
  5. The cup that refills
  6. The wanderers
  7. The smoke-bannered
  8. The sphere that turns
  9. The nothing that counts
  10. The sum without end
  11. The pulverizer and the wheel — you are here
  12. Where should it fall?