☸  Jainism.info — World's Most Complete Living Jain Knowledge Portal
Philosophy Universe Tirthankaras
← All articles
Jainism as Science

Counting Combinations: Permutations in Jain Texts

By Nirav Shah · 3 min read · May 13, 2026 · 1 views
Counting Combinations: Permutations in Jain Texts

Jain thinkers explored permutations and combinations early and seriously, motivated by philosophy and music alike. Combinatorics has deep roots in the Indian and Jain traditions.

Combinatorics, the mathematics of counting arrangements and selections, has unusually deep roots in the Indian tradition, and Jain thinkers were among its early cultivators. The questions of how many ways a set of things can be arranged in order, called permutations, and how many ways a subset can be chosen, called combinations, appear in Jain texts well before they were systematically studied in Europe.

The Jain interest in these problems sprang partly from the tradition's broader fascination with enumeration. A worldview preoccupied with counting the varieties of karma, the categories of beings, the qualities of matter, the modes of a substance, and the divisions of the infinite naturally turned to the mathematics of how many ways things can be combined and ordered. Jain philosophical texts pose and solve combinatorial questions, for example counting the number of ways that a certain number of qualities or factors can be selected or arranged, and these appear as genuine mathematical exercises embedded in philosophical discussion.

A striking early example from the wider Indian milieu, closely connected to this current of thought, is the systematic counting of combinations of qualities and the arrangement of syllables and musical notes. Indian scholars worked out how many distinct melodic or metrical patterns could be formed from a given set of elements, which is a combinatorial problem. The tradition developed methods for enumerating permutations and combinations and even arranged the results in tabular forms. The famous triangular array of numbers now known in the West as Pascal's triangle, which gives the combinatorial coefficients, was known in the Indian tradition centuries before Pascal, under its own names and in connection with the enumeration of metrical and musical patterns.

Within Jain mathematics specifically, the ninth-century mathematician Mahavira, in his Ganita Sara Sangraha, gave a general rule for computing the number of combinations of objects taken a certain number at a time, a clear statement of what we now call the binomial coefficient. This is combinatorics of a high order, expressed as a general formula rather than a case-by-case count, and it places Jain mathematics squarely in the early history of the subject.

The resonance with modern mathematics is direct and uncontroversial here, more so than in many other parallels. Permutations and combinations are exactly the objects of modern combinatorics, and the rules the Jain and broader Indian tradition developed are, in their content, the same rules taught today. This is not a loose analogy but a genuine continuity of mathematical substance. Combinatorics underlies modern probability, statistics, computer science, and much else, and its early flourishing in the Indian and Jain traditions is a well-documented chapter in the global history of mathematics.

Honesty requires only modest qualifications. The Jain treatment was often motivated by specific applications, philosophical, musical, or metrical, rather than pursued as an abstract theory, and the notation and framing differ from the modern. Credit for combinatorial ideas in the Indian tradition is shared among many scholars and schools, Jain and non-Jain alike, over a long period, so it would be inaccurate to attribute the whole subject to Jainism. And the results, while correct and general, were part of a broader mathematical culture rather than an isolated Jain invention.

What deserves emphasis is that the mathematics of combination and arrangement was taken seriously, developed rigorously, and applied thoughtfully within a tradition often remembered mainly for its ethics and metaphysics. The Jain contribution to counting the ways that things can be selected and ordered is a solid, verifiable strand in the history of a field that has become central to modern science and technology.

More to read

The Architecture of the Cosmos: Jain Loka

Jain texts describe the universe as a vast, uncreated structure of finite shape floating i...

Infinite Space: Akasha and the Unbounded Universe

Among the six eternal substances of Jainism, Akasha is space itself, and it is genuinely i...

Cyclical Time: Kalachakra and Cosmological Cycles

Jainism sees time as an endless wheel of ascending and descending ages rather than a singl...