The Katapayadi Number System

By Image: Gallery: archive copy, Public Domain, Link

What’s common between the first verse of Mahabharata and the last verse of Mēlputtūr Nārāyaṇa Bhaṭṭatiri’s Narayaneeyam written in 1586 CE.?

The first verse of adi parva reads

नारायणं नमस्कृत्य नरं चैव नरॊत्तमम देवीं सरस्वतीं चैव ततॊ जयम उदीरयेत

(” Om ! Having bowed to Narãyana and Nara, the most exalted male being, and also to the Goddess Saraswati, must the word Jaya be uttered)

Mēlputtūr Nārāyaṇa Bhaṭṭatiri’s Narayaneeyam ends with the words ayur- ̄arogya-saukhyam. This wishes long life, health, and happiness to the readers of his devotional poem.

The words jayam and ayur- ̄arogya-saukhyam have two properties.

  1. Both have proper meanings in the context of the sentence used (as in, they are not gibberish words.) This matters as we go into the details.
  2. The second property is not well known. Both those words encode a number that has a deeper meaning.

In this system of encoding, jaya represents 18 and ayur- ̄arogya-saukhyam 17,12,210. Counting those many days from Kali Yuga, gives the date as 8th December 1586, the completion date of Narayaneeyam.

This article looks at this style of representing numbers using meaningful words.

Katapayadi Number System

Process-wise, the encoding is simple. Each Samskritam consonant is given a number. Hence the algorithm is as simple as reading it from right to left.

encoding of jaya in katapayadi system

The letter ja is assigned the number 8 and ya, 1. Reading from right to left, it becomes 18.

Why did Vyasa pick on the number 18 and encode it as jaya? Why did he call Mahābhārata as jaya. Mahābhārata has 18 parvas. Gita has 18 chapters. The war was fought for 18 days. There were 18 akshauhini’s in the war. Thus jaya was not a random selection.

Here is the full table of the consonant to number assignment.

ka क കkha ख ഖ
ga ग ഗ
gha घ ഘ
nga ङ ങ
ca च ച
cha छ ഛ
ja ज ജ
jha झ ഝ
nya ञ ഞ
ṭa ट ട
ṭha ठ ഠ
ḍa ड ഡ
ḍha ढ ഢ
ṇa ण ണ
ta त ത
tha थ
da द ദ
dha ध ധ
na न ന
pa प പ
pha फ ഫ
ba ब ബ
bha भ ഭ
ma म മ
ya य യ
ra र ര
la ल ല
va व വ
śha श ശ
sha ष ഷ
sa स സ
ha ह ഹ
katapayadi table

Look at the letters which represent the number 1. ka, ta, pa, ya gives it the name katapayadi (adi in Samskritam means beginning). Vowels meant 0, and vowels followed by a consonant had no value. In the case of compound letters, the value of the last letter was used.

In its land of origin, Kerala, it was known by a different name Paralpperu where paral means seashell and peru name” (astronomical calculations were done using seashells).

Here is another example. The year 2010 is expressed as natanara.

This is because


If you read this backward, you get 2010. An important point is that the letters are not chosen randomly. They mean something. In this case, natanara means “a man (nara) who is an actor ( nata)”. Since there are many possible letters for each number, the mathematician can create a meaningful word from the numbers.

Similarly, ayur- ̄arogya-saukhyam represents 17,12,210 to represent the date of 8 December 1586. Why was the epoch chosen as the beginning of Kali Yuga? It was the popular way of dating events called the Kali-ahargana. Kali-yuga started at sunrise on Friday, 18 February 3102 BCE, and computing the number of days from then was common in planetary calculations.

The fact that Bhaṭṭatiri used this system is not surprising. He was a student of Achyuta Pisharati, a member of the Hindu school of Mathematics from Kerala. This is also an example where it was used in non-scientific work.

Thus the katapayadi system allows the author to represent large numbers using easy-to-remember words. It also has the flexibility to let the author pick an appropriate word for the context and one that fits the meter if it’s a poem.

During the time of Aryabhatta, there were at least three methods of writing numbers. Mathematicians like Varahamihira and Bhaskaracharya used a system called the bhoot samkhya. Aryabhatta, though, invented his own system, which was a new contribution.(The Aryabhata Number System)

Katapayadi number system was primarily used by Hindu mathematicians and astronomers in Kerala. The fact that numbers can be converted to meaningful words that can be strung together helped Malayali mathematicians perform complicated calculations from memory. They computed eclipses, memorized the calculations using words, and committed to memory. This way, there was no dependency on books or tables. This system of memorization was prevalent till around 100 years back.

The book Moonwalking with Einstein talks about various techniques used by the ancients to memorize data. One of the techniques was called memory palace. The katapayadi system looks simpler as the data to commit to memory is that table.

Origins and Spread

If you ask, who started this number system, there are many answers. It’s possible that Vararuchi wrote them in Candra-vakyas in the fourth century. Aryabahata I, who lived 100 years after, was aware of it. It was then popularized in 683 CE in Kerala by Haridatta. ́Sankaranarayana ( 825–900 CE) mentions this name in his commentary on the Laghubhaskarıya of Bhaskara I. Subhash Kak argues that the the system is much older

Though the system originated in Kerala, it spread around India. Though it was well known in the northern part of India, it was not widely used. It spread from Kerala to Tamil Nadu and Pondicherry. That came due to their contact with Nilakanta Somayaji, another mathematician from the Madhava school. In Karnataka, Jains used it in their writing. Orissa has manuscripts that show usage of this system. Aryabhata II used this in the 10th century with some modifications. Bhaskara II used both Bhootsamkya system and Katapayadi system in his works.

This system was not used just in astronomy and mathematics but also in classifying music. For example, the 72 ragas were classified by musicologist Muddu Venkata Makki using the first two letters to indicate the serial number of the Melakartharagam. Thus Kanakangı shows the serial number 1, Rupavatı 12, Sanmukhapriya 56, or Rasikapriya 72.

You are too late if you think this system would help write something like Da Vinci Code. The National-Treasure-in-India script was done a few hundred years back. Ramacandra Vajapeyin, who lived in Uttar Pradesh, used this technique to forecast a dispute or war victory. His brother wrote a text to draw magic squares for therapeutic purposes.

Forgotten Mathematicians

I learned about the Hindu school of Mathematics (as opposed to the Jain school) from Kerala by reading A Passage to Infinity by George Gheverghese Joseph. Though there were few mathematicians in Kerala in the 9th, 12th, and 13th centuries, what is today called the Kerala School started with Madhava, who came from near modern-day Irinjalakuda. His achievements were phenomenal; they included calculating the exact position of the moon and what is now known as the Gregory series for the arctangent, Leibniz series for the pi and Newton power series for sine and cosine with great accuracy.

Some of these techniques were forgotten, but thanks to a renewed interest in Samskritam, there is a revival of knowledge. This whole article was triggered when I read the first chapter of my Samskrita Bharati book on sandhis which mentioned the katapayadi system.


  1. If are you curious to know why Mahābhārata was called jaya, then read this article.


  1. Vijayalekshmy M. “‘KATAPAYADI’ SYSTEM — A CONTRIBUTION OF MEDIEVAL KERALA TO ASTRONOMY AND MATHEMATICS.” Proceedings of the Indian History Congress, vol. 69, 2008, pp. 442–46, Accessed 7 May 2022.
  2. Anusha, R., et al. “Coding the Encoded: Automatic Decryption of KaTapayAdi and AryabhaTa’s Systems of Numeration.” Current Science, vol. 112, no. 3, 2017, pp. 588–91, Accessed 7 May 2022.
  3. Kak, Subhash. “INDIAN BINARY NUMBERS AND THE KAṬAPAYĀDI NOTATION.” Annals of the Bhandarkar Oriental Research Institute, vol. 81, no. 1/4, 2000, pp. 269–72, Accessed 7 May 2022.
  4. Iyer, P. R. Chidambara. “REVELATIONS OF THE FIRST STANZA OF THE MAHĀBHĀRATA.” Annals of the Bhandarkar Oriental Research Institute, vol. 27, no. 1/2, 1946, pp. 83–101, Accessed 7 May 2022.
  5. A. V. Raman, “The Katapayadi formula and the modern hashing technique,” in IEEE Annals of the History of Computing, vol. 19, no. 4, pp. 49-52, Oct.-Dec. 1997, doi: 10.1109/85.627900.

In Pragati: Book Review of A Passage to Infinity by George Gheverghese Joseph

An important problem in historiography is the politics of recognition. Which theory gets recognized and which doesn’t sometimes depends on who is saying it rather than what is right. Take for example, the Aryan Invasion Theory. Historians like A L Basham wrote convincingly about it and it was the widely accepted fact. Over a period of time, the invasion theory fell apart; the skeletons, which were touted as evidence for the invasion, were found to belong to different cultural phases thus nullifying the theory of a major battle. Due to all this, historians like Upinder Singh categorically state that the Harappan civilization was not destroyed by an Indo-Aryan invasion. But  the Aryan Invasion Theory is still being taught in Western Universities and those who question it are ridiculed. In this atmosphere if any academic dares to support the Out of India Theory, that could be a career-limiting move.
Eurocentric historiography has affected not just Indian political history, but the history of sciences as well. Indigenous achievements have not got the recognition it deserved; when great achievements were discovered, there have been attempts to explain it using a Western influence. In 1873 Sedillot wrote that Indian science was indebted to Europe and Indian numbers were an abbreviated form of Roman numbers. Half a century before that Bentley rewrote the dates for various Indian mathematicians, pushing them to much later and blamed the Brahmins for fabricating false dates. Some of these historians were willing to acknowledge that there were some great mathematicians till the time of Bhaskara, but none after that and without the introduction of Western Civilisation, India would have stagnated mathematically.
George Gheverghese Joseph disputes that with facts and goes into the indigenous origins of the Kerala School of Mathematics which flourished from the 14th century starting with Madhava of Sangamagrama and ending with Sankar Varman around 1840s. Though there were few mathematicians in Kerala in the 9th, 12th and 13th centuries, what is today called the Kerala School started with Madhava who came from near modern day Irinjalakuda. His achievements were phenomenal; they included calculating the exact position of the moon and what is now known as the Gregory series for the arctangent, Leibniz series for the pi and Newton power series for sine and cosine with great accuracy.
Following Madhava,  the guru-sishya parampara bore fruit with a large number of students in that lineage achieving greatness. These include Vattasseri Paramesvara,  Nilakanta, Chitrabhanu,  Narayana, Jyeshtadeva and Achyuta. They wrote commentaries on Aryabhata (who was an influential figure for Kerala mathematicians), Bhaskara and Bhaskaracharya, recorded eclipses and dealt with spherical and planetary astronomy and produced many theorems and their proofs. Tantrasangraha by Nilakanta was a major output of this school. In this book, he carried out a major revision of the models for the interior planets created by Aryabhata and in the process arrived at a more precise equation than what existed in the world at that time. It was even superior to the one developed by Tycho Brahe later. These are the people we know about; Joseph writes that many more could be found from the uncatalogued manuscripts in Kerala and Tamil Nadu.
The book also goes into the social situation in Kerala which made these developments possible. By the 14th century the Namboothiri Brahmins, the major landholders were organized around the temple. They had a custom by which only the eldest son entered a normal marriage alliance and got his position in society by taking care of property and community affairs. The younger sons did not marry Namboothiri women, but entered into relations with Nair women — a practice called sambandham. They had to gain prestige by other means such as scholarship and the book makes the case that these younger sons formed one section of these mathematicians.
In an agrarian society which depended on monsoons, the precision of the calendar and astronomical computation of the position of celestial bodies was important. Astrology too was important for finding auspicious times for religious and personal rituals. All this knowledge was nourished, sustained and disseminated from the temple which served as the hub of this intellectual activity. The temple also employed a large number of people — priests, scholars, teachers, administrators — and there were a number of institutions attached to the temple where people were given free boarding and lodging.

After explaining the social situation in Kerala which facilitated the such progress, the final section of the book tackles an important problem. Two important mathematical developments of the 17th century are the discovery of calculus and the application of the infinite series techniques. While Europeans like Leibniz and Newton are credited with this work, the book argues that the origin of the analysis and derivations of certain infinite series originated in Kerala from the 14th to the 16th century and it preceded the work of Europeans by two centuries. The  mystery then is this: how did this information reach Europe?
The book presents multiple theories here. It considers the option that Jesuits were the channel through which this knowledge reached Rome and from there spread elsewhere. There have been many such examples of transmission from the 6th century onwards with knowledge reaching Iraq and Spain and eastward to  China, Thailand and Indonesia. But extensive survey of Jesuit literature did not provide any data for this transmission. Understanding the cryptic verses in which the information was written required investment of time and excellent knowledge of Malayalam and Sanskrit. Though Shankar Varman spoke to Charles Whish in 1832, that level of sharing of information may not have happened in the 14th century. The book then presents an alternate theory that the information may have slipped out unintentionally; the computations of the Kerala school would have been interesting for navigators and map makers and it would have been transmitted through them and then reconstructed back in Europe. This topic is not closed yet and much more research has to be done.
The book is not written purely for the layman in the style of Michel Danino’s The Lost River or Sanjeev Sanyal’s The Land of Seven Rivers. There are large portions of the book which contain mathematical proofs by  these great mathematicians and can skipped for those who are not mathematically inclined. There was something a bit odd about an appendix appearing in the middle of the book. While dealing with the history of mathematics in India, the book starts with the ‘classical’ period and with Aryabhata (499 CE). Recently, there was a course Mathematics in India – from Vedic Period to Model Times taught by Prof M D Srinivas, M S Sriram and K Ramasubramanian, whose videos are available on YouTube. The course, very rightly starts with the ancient period, starting with the Sulvasutras (which is prior to 500 BCE) and such ancient knowledge should be acknowledged.
During these times when every development is attributed to Greece or Europe, the book dispels that notion completely and argues for an indigenous development of the Kerala School. Thanks to the work of various post-Independence historians, we have more information about the the Kerala School of Mathematics and that information is getting more popular. The Crest of the Peacock: Non-European Roots of Mathematics by the same author and Mathematics in India by Kim Plofker, all talk about the history of Indian math and Kerala School in particular. But in more popular books, these developments are rarely mentioned because Indian mathematicians followed the computational model of Aryabhata which is different from the Greek model. In this context, books like A Passage to Infinity  are important for us to understand these marginalized mathematicians.

In Pragati: The Lost Age of Reason: Philosophy in Early Modern India by Jonardon Ganeri

Recently the Society of Biblical Literature published the book Neo-Babylonian Trial Records (Writings from the Ancient World) by Shalom E Holtz. According to the description of the book, “this collection of sixth-century B.C.E. Mesopotamian texts provides a close-up, often dramatic, view of ancient courtroom encounters shedding light on Neo-Babylonian legal culture and daily life” and 50 cases are documented. Going even back in time, in 2062 BCE, an Indus colony existed in Mesopotamia and we have detailed documentation from that period mentioning the names of the colonists along with grain delivery records and debt notes. When it comes to India during that period, such detailed records are lacking.
Due to this, daily life in the Indus-Saraswati period is documented not from written records, but from archaeological evidence. As scholars get into the history of Indian philosophy, they run into new issues; there is not much biographical detail of the philosophers. In fact a common trend among Indian philosophers was to avoid writing personal details, and not have any mention of the social and political context, as they would be just distractions. While we know about Machiavelli’s childhood from his father’s documents and his personality based on the chronicles from his contemporaries, all we know about the Varanasi philosopher Raghudeva Bhattacharya that he was a student of Harirama, lived in Varanasi and had his work translated by Mahadeva.
These become important as we discuss the concept of modernity in Indian philosophy. Did Indian philosophers turn against the ancient traditions like Francis Bacon and Descartes who had warned that one should not stay with the past too much. Overwhelmed by the Mughal and subsequent British influence, did the Indian philosophers invent a neo tradition dissing the past and incorporating concepts from the non-Indian world? Was modernity in Indian philosophy instigated by Western influence?

Varanasi in 1832 by James Prinsep
Varanasi in 1832 by James Prinsep

Ganeri tries to answer all these by going through the evolution of Navya Nyaya school of thought which originated in Mithila, but later flourished in Navadipa and Varanasi. The person responsible for this school was Raghunatha Shiromani (1460 – 1540), the author of Pad-rtha-tattva-nir-pa-a, and who preceded both Bacon and Descartes by a century. He was a contemporary of Caitanya Mahaprabhu and advocated a “reason and evidence-based critical inquiry”, than scriptural exegesis. He asked philosophers to think for themselves and reflect on matters, which seem contrary to accepted opinion. The Navya Nyaya school was quite popular and attracted students not just from India, but from Tibet and Nepal as well; some Sanskrit pundits even went to Tibet in the 17th century to assist the Dalai Lama.
Ganeri discovers that unlike in Europe, where there was a tendency to break away from the past to display modernity, Indian philosophers did not think that was necessary. Instead they bridged the ancient past and the emerging modernity. Raghunatha and his students, who pioneered evidence based critical enquiry, reinterpreted the ancient texts and found no incompatibility between the ancient and modern. Ganeri argues that if you have to understand modernity in the Indian philosophical context, you have to discard the notion that modernity is a rejection of the ancient.
Instead what is seen in the period mentioned in the book — 1450 to 1700 — is a new type of commentary, which looks at the hidden meaning in the ancient texts. These philosophers wrote commentaries without deference for the ancient with the purpose of educating their contemporaries, explaining a difficult point, filling in gaps or presenting a deeper non-obvious meaning. Some of these commentaries, like those of Raghunatha apply a new framework on an older text. Another goal was to make the reader think well; they had a layered model of the world in which concepts worked at the smallest scale as well as at the highest levels with composite bodies. When expressing complex ideas warranted the creation of a new language, they did that as well to explain the logical forms of their philosophical claims.
According to Ganeri, these developments were possible because the philosophers lived on the fringe — they lived near intellectual centers like Navadipa and Varanasi— but were not too deeply involved in the affairs of the city. Another reason was the sponsorship they got from the Mughal Court to the Bengal Sultanate to various rich patrons. Though these philosophers lived during the time of Dara Shikoh and the Mughal empire with its strong Persian influence, that influence was not seen in the Sanskritic works.
Ganeri also acknowledges the difficulty in reconstructing the biographies of most of these philosophers and instead analyses the history of these ideas against the context of sastra andsampradaya. Fortunately we have sufficient information about the social, political and intellectual context in which Navya Nyaya flourished. This approach has helped him analyze not just the thinker, but also the so-called modernity that he brings in. This sampradaya based system was eventually scuttled by the British, who decided that such a system was irrelevant. According to Ganeri, another reason for putting an end to this system was because it provided a strong intellectual basis against colonialism.
As you read through the book, it even makes you wonder if the term — modernity — is the right one to describe these developments. This constant questioning and challenging the established was always part of Indian darshanas and not something unique to the 15th century. The Upanishads criticised the ritualism and ceremonialism in the Brahmanas while appreciating the philosophical concepts in the Mantras. Buddhism repudiated the concept of the individual self while Nyaya-Vaisheshika recognised the individual self to be the ultimate. According to Prof Hiriyanna, “we have all the different shades of philosophic theory repeated twice over in India, once in the six systems and again in Buddhism”. Which among these should one consider modern?
In the conclusion of the book Ganeri expresses shock that modern philosophy is taught in Europe without mentioning Indian philosophers. There is nothing to be shocked about this; most European or American courses don’t mention developments in Indian math or science either. For example, the Kerala mathematician Nilakanta, who was a contemporary of Raghunatha Shiromani, revised the Indian planetary model for the interior planets, Mercury and Venus and for this he formulated equations to find the center of the planets better than both Islamic and European traditions.
In their propensity to solve astronomical problems, mathematicians of the Kerala school developed concepts like Gregory’s series and the Leibniz’s series. Yuktibhasha, the text written by Jyesthadeva, contain proofs of the theorems and the derivations of the rules, making it a complete text of mathematical analysis and possibly the first calculus text. Thanks to the efforts of late Prof KV Sarma, Dr CK Raju, Dr MD Srinivas, Dr MS Sriram, Dr K Ramasubramanian and Dr George G Joseph, Indians and Western scholars are becoming more aware of the Indian contributions to Mathematics and understanding how those ideas spread to the West. Similarly, Ganeri’s book besides giving a great introduction to the Navya Nyaya school and the social and political atmosphere in which it flourished, documents the vibrant philosophical culture that encouraged ‘modernity’ even before the Western influence came in.
(This was originally published in Pragati)

A Course on Mathematics in India (From Vedic Period to Modern Times)

In 662 CE, a Syrian bishop named Severus Sebokht wrote

When Ibn Sina (980 – 1037 CE) was about ten years old, a group of missionaries belonging to an Islamic sect came to Bukhara from Egypt  and he writes that it is from them that he learned Indian arithmetic. This, George Gheverghese Joseph, writes in The Crest of the Peacock: Non-European Roots of Mathematics shows that Indian math was being used from the borders of central Asia to North Africa and Egypt.
Though there is a such a rich history, we rarely learn about the greatness of Indian mathematicians in schools. Even our intellectuals are careful to glorify the West and ignore the great traditions of India. A prime example of that was an article by P. Govindapillai, the Communist Party ideologue, in which he lamented that the world did not know about the contributions of the Arab scientist al-Hassan. In response, I wrote an Op-Ed in Mail Today in 2009.
Thus it is indeed great to see that NPTEL ran a course on Mathematics in India – From Vedic Period to Modern Times. The entire series of around 40 lectures is available online. It is there on YouTube as well. It starts with Mathematics in ancient India with the Śulbasūtras and goes past the period of Ramanujam. It goes through various regional scientists including the members of the Kerala School of Astronomy and covers the difference between the Greco-Roman system of proofs and how Indian mathematicians did it. Kudos to Prof. M. D. Srinivas, Prof. M. S. Sriram and Prof.K. Ramasubramanian for making this available to the general public.
PS: @sundeeprao points to this course on Ayurvedic Inhertance of India

Mathematics in India

Last year Communist ideologue P Govindapillai wrote an article in the Malayalam newspaper Mathrubumi about Eurocentrism and lamented that Europeans did not give sufficient credit to Muslim scientists. In the article Govindapillai conveniently left out mathematicians from his own state — the Kerala School of Mathematics — and their discoveries. This lead to an Op-Ed in Mail Today.
In his review of Kim Plofker’s Mathematics in India, David Mumford, Professor of Applied Mathematics at Brown University, writes that the prosperity and success of India has created support for new Western scholars who are looking at India without the old biases. I have not read the book yet, but the review is positive.

Chapter 7 of Plofker’s book is devoted to the crown jewel of Indian mathematics, the work of the Kerala school. Kerala is a narrow fertile strip between the mountains and the Arabian Sea along the southwest coast of India. Here, in a number of small villages, supported by the Maharaja of Calicut, an amazing dynasty17 of mathematicians and astronomers lived and thrived. A large proportion of their results were attributed by later writers to the founder of this school, Madhava of Sangamagramma, who lived from approximately 1350 to 1425. It seems fair to me to compare him with Newton and Leibniz. The high points of their mathematical work were the discoveries of the power series expansions of arctangent, sine, and cosine. By a marvelous and unique happenstance, there survives an informal exposition of these results with full derivations, written in Malayalam, the vernacular of Kerala, by Jyes.t.hedeva perhaps about 1540. This book, the Gan.ita-Yukti-Bhasa, has only very recently been translated into English with an extensive commentary.18 As a result, this book gives a unique insight into Indian methods. Simply put, these are recursion, induction, and careful passage to the limit.[Mathematics in India via IndiaArchaeology]

The Kerala School and Lord of Guruvayoor

All Malayalees know Melpathur Narayana Bhattithiri (1559-1632 ) and his famous composition — Narayaneeyam — still sung in Guruvayoor temple. The immediate story that comes to mind is his tiff with his contemporary Poonthanam, whose judge turned out to be Guruvayoorappan
While Melpathur was composing Narayaneeyam in Sanskrit, Poonthanam was writing Jnanapana in Malayalam. This was a time when Malayalam was considered inferior to Sanskrit. When Poonthanam went to show his poem to Melpathur, he refused to see it; treating him like a groundling, Melpathur asked Poonthanam to learn Sanskrit.
The next day, Melpathur came to sing ten slokas of Narayaneeyam before Guruvayoorappan and he met a boy who found many mistakes in his composition. The boy vanished and a celestial voice announced, “Poonthanam’s bhakthi (devotion) is more pleasing to me than Melpathur’s vibhakthi (learning or knowledge in Sanskrit grammar)”.
So goes the legend.
Is there any truth to this story or is it something which which was written to show that Malayalam was as good as Sanskrit? Would a Sanskrit scholar like Melpathur make mistakes in his composition.? What we know is two pieces of information about Melpathur from which we will have to deduce information.
While Narayaneeyam is Melpathur’s most famous composition, he also wrote sreepaada saptati in praise of Bhagavathi, Manameyodayam on Mimamsa, and Kriyakramam on nambudiri rituals. Less known is the fact that Melpathur was connected to the Kerala school of mathematics. Melpathur was the student of Achyuta Pisharati (c. 1550-1621) who was the student of Jyestadeva, the author of yuktibhasha. Melpathur is not know for astronomical models or mathematical proofs but, according to Wikipedia, for Prkriya-sarvawom, which sets forth an axiomatic system elaborating on the classical system of Panini. This is believed to be written in sixty days[1].

Kerala School of Mathematics(teachers and students)

So would a person, who understood Panini, be sloppy with his work? Maybe. Sreedhara Menon, in his Survey of Kerala History, writes about Revathi Pattathanam, an annual assembly of scholars held in Calicut. Those who displayed exceptional knowledge in debates were awarded the title Bhatta. Melpathur was denied the Bhatta title six times before he won it eventually[1].
There is little information about Poonthanam’s later life, but much more about Melpathur and his royal patrons. But we don’t know anything Melpathur’s first drafts of Narayaneeyam and so it is hard to pin down the narrative historically.
Though Poonthanam’s Jnanappana too is still sung in houses in Kerala, the title of father of Malayalam goes to Thunchatthu Ezhutachan — a contemporary of Poonthanam and Melpathur — who translated Ramayana, and Mahabharata and standardized the Malayalam alphabet [2].
[1] A Sreedhara Menon, A Survey of Kerala History
[2] S. Ramanath Aiyar, A Brief Sketch of Travancore, the Model State of India

Op-Ed in Mail Today: Kerala Astronomers and Eurocentrism

(This op-ed was published in Jan 25, 2009 edition of Mail Today/ PDF)
To commemorate the International Year of Astronomy in 2009, P Govinda Pillai, a Communist Party of India (Marxist) ideologue, in an article in the Malayalam newspaper Mathruboomi, examined the legacy of Copernicus, Galileo and Kepler. He also bought out an important topic – Eurocentrism in history writing – due to which we know about the work done on telescopes by Galileo, Hans Lippershey and Roger Bacon, but almost nothing by the Arab scientist al-Hassan.
Mr. Pillai stopped there. He wrote nothing about the contributions of mathematicians and astronomers from his state, Kerala, in developing the heliocentric model and calculating planetary orbits. It is not Mr. Pillai alone who is at fault. This apathy, this ignorance, this refusal to acknowledge Indian contributions — all point to a deep malaise in our historical studies. For perspective on this issue, we need to understand the contributions of Indian astronomers and decide if we should be like Confucians during the time of the Ming dynasty or 21st century Peruvian archaeologists.
The Kerala School of Mathematics
In 1832, a paper, “On the Hindu quadrature of a circle”, was read at the Royal Asiatic Society. This paper by Charles M. Whish of the East Indian Company Civil Service described eight mathematical series quoting from a text called Tantra Sangraham (1500 CE) which he had discovered in Kerala. These series were also mentioned in Yukti Dipika by Sankara Variyar and Yukti-Bhasa by Jyestadevan; both those authors had learned mathematics and astronomy from Kellalur Nilakanta Somayaji, the author of Tantra Sangraham. Some of those series were linked to Madhavan of Sangramagramam (1340-1425 CE). These mathematicians who lived between the 14th and 16th centuries formed the Kerala School of Mathematics and were proof that Indian mathematics did not vanish after Bhaskaracharya.
The importance of the Kerala school can be appreciated only by understanding the Copernican revolution. The contribution of Copernicus was two fold: first he improved
the mathematics behind the Ptolemaic system and second, changed the model from geocentric to heliocentric. The heliocentric model was proposed as early as the third century BCE by the Greek astronomer Aristarchus of Samos and so it is the math that made the difference.
In his Tantra Sangraham, Nilakanta revised the Indian planetary model for the interior planets, Mercury and Venus and for this he formulated equations to find the center of the planets better than both Islamic and European traditions. He also described the planetary motion in which Mercury, Venus, Mars, Jupiter and Saturn moved in eccentric orbits around the Sun, which in turn went around the Earth. Till Nilakanta, the Indian planetary theory had different rules for calculating  latitudes for interior and exterior planets. Nilakanta provided a unified rule. The heliocentric model of Copernicus did not alter the computational scheme for interior planets; it would have to wait till Kepler (who wrote horoscopes to supplement his income).
In their propensity to solve astronomical problems, mathematicians of the Kerala school developed concepts like Gregory’s series and the Leibniz’s series. The hallmark of earlier texts, like those of Madhava, were instructions and results without proofs or explanations. It is believed that the proofs and explanations were passed orally and hence rarely recorded. Yuktibhasha, the text written by Jyesthadeva, contain proofs of the theorems and the derivations of the rules, making it a complete text of mathematical analysis and possibly the first calculus text.

Lessons from Peru
Our education system, based on content from Western textbooks, have rarely questioned Western accomplishments. But Peruvians thought differently. When Peruvian archaeologists revisited the history written by the victors they discovered that the romantic tales woven by the Conquistadors were – well, tales. According to the original story, Francisco Pizarro, a Spaniard arrived in Peru in 1532 with few hundred men. Few weeks after their arrival, in a surprise attack, they killed the Inca king Atahualpa and took Cusco, the Inca capital. Four years later the Inca rebellion attacked Cusco and the new city of Lima.
On August 10, 1536, while Copernicus and the Kerala school were revolutionizing the world of astronomy half a world away, Francisco Pizzaro watched as tens of thousands of Incas closed in on Lima. With just a few hundred troops, Pizzaro had to come up with a strategy for survival. The Spaniards lead a cavalry attack and first killed the Inca general and his captains. Devoid of leadership the Incas scattered and once again the Spaniards won.
Recent archaeological excavations found a different version of this story. Out of the many skeletons found in the grave near Lima, only three were found to be killed by Spanish weapons; the rest by Incas. A testimony by Incas who were present in the battle was found in the Archive of the Franciscans at the Convent of San Francisco de Lima, which mentioned that it was not a great battle, but just a few skirmishes. Pizzaro was helped by a large army of Indian allies and the battle was not between the Spaniards and Incas, but between two Inca groups. It was also found that size of rebels were not in tens of thousands, but in thousands and there was no cavalry charge.
Thanks to the work of native archaeologists dramatic accounts of a small band of heroic Europeans subduing the Incas has a new narrative.
Lessons from China
Instead of following such examples and popularizing the work of Indian mathematicians, we have been behaving like Confucians at the court of the 15th century Ming emperor Zhu Di who erased evidence of the large fleets that sailed as far as the Swahili coast. While the world knows about the accomplishments of Europeans like Vasco da Gama, Columbus, Magellan and Francis Drake, little is known about Zheng He who arrived in Calicut eighty years before da Gama commanding a fleet of three hundred ships carrying 28,000 men; Vasco da Gama arrived with three ships and less than two hundred men.
Between 1405 to 1433, Zheng He’s fleet made seven voyages —- three to India, one to Persian Gulf and three to the African coast — trading, transporting ambassadors, and establishing Chinese colonies. Following the death of the emperor who  commissioned these voyages, the Confucians at the court gained influence. Confucius thought that foreign travel interfered with family obligations and Confucians wanted to curtail the ambitious sailors and the prosperous merchants.
So ships were let to rot in the port and the logs books and maps were destroyed. The construction of any ship with more than two masts was considered a capital offense. A major attempt at erasing a proud chapter in their history was done by the natives themselves.
Appreciating our stars
The goal is not to diminish the accomplishments of Copernicus or Galileo but to note that no less important accomplishments were achieved by the Kerala school either before or around the same time. Interestingly in the West, Copernican revolution was considered a movement into science to which the Church, obstinate in religious dogma, would take umbrage. In India no one was burned at the stake or put under house arrest for proposing a heliocentric model.
Instead of accepting the astronomical concepts of the Church on faith, Galileo investigated them and found new truths. Extrapolating that to historical studies we need to critically examine the Eurocentric history like the Peruvians and popularize the work of our ancestors. In this International year of astronomy, if we do not inform everyone about our great astronomers, who will ?
Postscript: In the midst of all this Eurocentric history, as a surprising exception to the norm, the only educational institution where one can take an elective course in The Pre-History of Calculus and Celestial Mechanics in Medieval Kerala is Canisius College, New York.
References: This credit for this article goes to Ranjith, a reader of this blog. He alerted me to Govinda Pillai’s article and then sent various research papers and articles about the Kerala School. He made me read Modification of the earlier Indian planetary theory by the Kerala astronomers, 500 years of Tantrasangraha, Madhavan, the father of analysis, Whish’s showroom revisited and The Pre-History of Calculus and Celestial Mechanics in Medieval Kerala.
Dick Teresi’s book Lost Discoveries, which I first read in 2003, covers the ancient roots of modern science and has sections on Indian mathematicians and astronomers. I remember buying The Crest of the Peacock and lending it to a mathematician friend; the book is now inside a singularity. The Great Inca rebellion was covered in the excellent PBS documentary of the same name. References for Zheng He can be found in an earlier article. In 2000, the University of Madras organized a conference to celebrate the 500th anniversary of Tantrasangraha. The papers presented at this conference can be found in 500 Years of Tantrasangraha
Finally, Rajiv Malhotra on Eurocentrism of Hegel, Marx, Mueller, Monier Williams, Husserl.
(images via wikipedia and indiaclub)