All posts

कथा कौतुकम् - 17 - तुरगपदबन्धः

The poem that is also a chess puzzle

Script

Article compiled by Harsha M Krishna

Find Harsha on Instagram, X, LinkedIn, About



चतुरङ्गं भारते जातम्। तत् अद्य "चेस्" इति विश्वे प्रसिद्धम्। ♟️
caturaṅgaṃ bhārate jātam.
(Chaturaṅga was born in India. Today the world calls it chess.)


तत्र एकः अश्वः अस्ति। सः विचित्रं चलति — द्वौ पदौ अग्रे, एकं पार्श्वे।
tatra ekaḥ aśvaḥ asti. saḥ vicitraṃ calati.
(There is a knight there. It moves strangely — two steps ahead, one aside.)


गणितज्ञाः एकं प्रश्नम् अपृच्छन् —
gaṇitajñāḥ ekaṃ praśnam apṛcchan —
(Mathematicians asked a question:)


"अश्वः सर्वाणि चतुःषष्टिकोष्ठानि एकवारम् एव स्पृशेत् — शक्यते वा?"
"aśvaḥ sarvāṇi catuḥṣaṣṭi-koṣṭhāni ekavāram eva spṛśet — śakyate vā?"
("Can the knight touch all 64 squares, each exactly once?")


पाश्चात्त्यदेशे ऑयलर् इति गणितज्ञः अष्टादशे शतके एतत् समाधत्त।
pāścāttyadeśe oyler iti gaṇitajñaḥ aṣṭādaśe śatake etat samādhatta.
(In the West, Euler solved this in the 18th century.)


किन्तु भारते? नवमे शतके। एकेन कविना। श्लोकरूपेण। 🤯
kintu bhārate? navame śatake. ekena kavinā. ślokarūpeṇa.
(But in India? In the 9th century. By a poet. In the form of a verse.)

In English 👇

The Knight's Tour is a classic problem in mathematics: move a chess knight so that it lands on every square of the board exactly once.

Leonhard Euler studied it in the 18th century. Warnsdorff gave a procedure in 1823. It appears in computer science courses to this day as a problem in graph theory and backtracking.

The earliest known reference to it anywhere in the world is a Sanskrit book on poetry. 📖


रुद्रटः
— Rudraṭa, 9th century Kashmir 🏔️

In his Kāvyālaṅkāra — a treatise on poetic ornament, not mathematics — Rudraṭa describes a figure called:


तुरगपदबन्धः
(turagapada-bandha) "the arrangement in the steps of a horse." 🐎

Here is how it works. Sanskrit is written in syllables, not letters. So take a verse of 32 syllables — four lines of eight — and write one syllable per square onto half a chessboard (4 × 8).

Now read it two ways: 👉 normally, left to right, line by line 👉 by following a knight's tour across the grid

Both readings must be valid verses.


रुद्रटस्य उदाहरणम् — Rudraṭa's example 🎯से ना ली ली ली ना ना ली
ली ना ना ना ना ली ली ली
न ली ना ली ले ना ली ना
ली ली ली ना ना ना ना ली

se nā lī lī lī nā nā lī lī nā nā nā nā lī lī lī na lī nā lī le nā lī nā lī lī lī nā nā nā nā lī

Look at what he's done. 😲

He built the entire verse out of almost nothing — just the syllables na, lī, le, se. And because the sounds repeat in exactly the right pattern, when you trace a knight's tour across the grid, you get the same verse back.

The path from square 1: (1,1) → (2,3) → (1,5) → (2,7) → (4,8) → (3,6) → (4,4) → (3,2) — and the horse keeps galloping.

He wasn't solving a maths problem. He was showing poets a new ornament. The mathematics was a side effect. 🤯

And then, 500 years later, someone did it properly 🙏


वेदान्तदेशिकः
— Vedānta Deśika (c. 1268–1369), the Śrīvaiṣṇava philosopher-poet of Kanchipuram.

Tradition says he composed the पादुकासहस्रम् (Pāduka-Sahasram) — one thousand verses in praise of Lord Raṅganātha's sandals — in a single night, to win a literary contest. His rival managed 300. 😄

In chapter 30 of that work, called चित्रपद्धतिः — "the section of picture-verses" — he does the knight's tour with real, meaningful, devotional poetry.


श्लोकः ३०.१९

स्थिरागसां सदाराध्या विहताकततामता ।
सत्पादुके सरासामा रङ्गराजपदं नय ॥

sthirāgasāṃ sadārādhyā vihatākatatāmatā | satpāduke sarāsāmā raṅgarājapadaṃ naya ||

"O sacred sandals, ever worshipped even by those whose faults are lasting, you who remove all that is wrong — lead me to the feet of Raṅgarāja."


पश्यन्तु — put it on the board ♟️
स्थि रा ग सां स दा रा ध्या
वि ह ता क त ता म ता
स त्पा दु के स रा सा मा
रं ग रा ज प दं न य


Now start the knight at स्थि (top-left) and jump:

स्थि (1,1) → ता (2,3) → स (1,5) → म (2,7) → य (4,8) → रा (3,6) → ज (4,4) → त्पा (3,2)

Read it out: स्थि-ता-स-म-य-रा-ज-त्पा…

स्थितासमयराजत्पा…

That is the opening of verse 30.20 — a completely different verse, with its own meaning, generated by the horse's path. 🐎✨

Two poems. One grid. Thirty-two syllables. Every square visited exactly once.

Sit with the constraint 🧠

To write this, Vedānta Deśika had to choose 32 syllables such that:

✅ read straight, they form a grammatical verse in anuṣṭubh metre ✅ read along a knight's tour, they form another grammatical verse in the same metre ✅ both are coherent devotional praise of the same sandals ✅ and the tour is mathematically valid — 32 squares, no repeats

He is said to have done this on the same night he wrote 999 other verses. 😵

Why it belongs here 💭

Look at what our series keeps uncovering.

Piṅgala found binary while cataloguing metres. Śaṅkara Varman hid π inside a hymn. Māgha built a magic square out of a battlefield. Rudraṭa stumbled onto a graph-theory problem while teaching poetic ornament.

Not one of these people thought they were doing mathematics.

They were playing. And the mathematics was what fell out of the play. ♟️🌸

⚠️ Honest notes: Rudraṭa and Deśika demonstrate the tour on a half board (4×8), not the full 64 squares — the full-board version appears later, in King Someśvara's Mānasollāsa (12th c.). And Euler's contribution was the general mathematical analysis, which is a different achievement from constructing a specific tour. Both facts are true at once; neither cancels the other. 🙏


अत्र एकः प्रश्नः भवद्भ्यः! 🎯

Copy the Deśika grid above. Continue the knight's tour from त्पा. Post the next eight syllables.

Tags

  • harsha krishna
  • katha kautukam

All posts