The Katapayadi system is a historical Sanskrit alphanumeric code used to encode numbers into memorable words or verses. It maps consonants to digits 1–9 and 0 across four groups: Ka-group (1-0), Ta-group (1-0), Pa-group (1-5), and Ya-group (1-8).
Key rules include: vowels alone count as 0; in conjunct consonants, only the last consonant counts; and digits are assembled right-to-left (the first syllable is the units digit). This is a mnemonic storage mechanism, not a calculation method. Standard fallback: Direct numerical notation.
Example 1: Decoding 'ga-ma'
1. 'ga' (3rd in Ka-group) = 3.
2. 'ma' (5th in Pa-group) = 5.
3. Sequence: 3, 5.
4. Assemble right-to-left: 53.
Check: Assembling digits 5 (tens) and 3 (units) gives 5 × 10 + 3 = 53. Verified.
Example 2: Decoding 'ka-ṭa-pa-ya'
1. 'ka' = 1, 'ṭa' = 1, 'pa' = 1, 'ya' = 1.
2. Sequence: 1, 1, 1, 1.
3. Assemble right-to-left: 1111.
Check: Assembling 1, 1, 1, 1 from right-to-left gives 1(1000) + 1(100) + 1(10) + 1 = 1111. Verified.