Recursion and Combinatorial Mathematics in Chandashaastra

Abstract

Contribution of Indian Mathematics since Vedic Period has been recognised by the Historians. Pingala (200 BC) in his book on 'Chandashaastra', a text related to the description and analysis of meters in poetic work, describes algorithms which deal with the Combinatorial Mathematics. These algorithms essentially deal with the conversion of Binary numbers to Decimal numbers and vice versa, finding the value of 'n choose r', evaluating 2n, etc. All these algorithms are recursive in nature. There are also evidences of making use of stack variables to stack the intermediate results for later use. Interestingly later work by Kedar Bhatt (around 800 AD) has only iterative algorithms for the same problems. We describe both the recursive as well as iterative algorithms in this paper.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…