INDIAN NUMERICAL CODE

It is interesting to observe that ancient Indian Mathematicians preferred Devanagari alphabet to numerals in representing large numbers. They used a code language to represent the digits of the numbers. This, they did, not for secrecy but to facilitate memorizing. They encoded numbers in the form of sutras or verses which made them easy to be memorized even for small children.

The shloka "gopi bhaagya ..." which was presented to you in the introductory page of Indian Mathematics is a good example of this encoding. Actually, it bears three different meanings. In one sense it is a hymn in praise of Lord Krishna and  in another sense, it is a hymn towards Lord Shankara. Apart from the literary pun , the verse has mathematical importance. It is because, the verse  encodes 32 digits of the number 'Pi' using a code language. The code language used for representing digits in that shloka is given below

"  कादि नव टादि नव पादि पञ्चक याद्यष्टक " and  " क्ष: शून्यम् "

It actually means

                            Nine letters starting from 'ka'      ( क ख ग घ ङ च छ ज झ )

                            Nine letters  starting from 'Ta'    ( ट ठ ड ढ ण त थ द ध )

                            Five letters starting from 'pa'      ( प फ ब भ म )

                            Eight letters starting from 'ya'    and     ( य र ल व श ष स ह )

                            KSha   for zero.         ( क्ष )

  Elaborated, this means:

    ka,Ta,pa and ya ( क ट प य ) all denote 1;

    kha, Tha, pha and ra ( ख ठ फ र )  all represent 2;

    ga, Da, ba and la ( ग ड ब ल )all stand for 3;

    gha, Dha, bha and va ( घ ढ भ व )all denote 4;

    gna, na, ma and sha (ङ ण म श ) all represent 5;

    cha, ta and Sha ( च त ष ) all  stand for 6;

    Cha, tha, and sa ( छ थ स ) all denote 7;

    ja, da and ha ( ज द ह ) all represent 8;

    jha and dha ( झ ध ) stand for 9; and

    Ksha (or Kshudra ) ( क्ष: ) means Zero!

 After knowing the code language, the key is now available with us. So, we'll try to find how the "gopi bhaagya..." shloka encodes the value of 'Pi' for 32 decimal places.

गोपीभाग्यमधुव्रात श्रृङ्गीशोदधिसन्धिग। खलजीवितखाताव गलहालारसंधर।।

gopIbhaagyamadhuvraata shrRiNgIshodadhisandhiga  khalajIvitakhaataava galahaalaarasandhara

Consider the first  part "gopIbhaagyamadhuvraata".  This can be split into syllables as " ga pa bha ya ma dha ra ta " which, according to the code language denotes the digits " 3 1 4 1 5 9 2 6 ". This continues further and the shloka encodes 32 digits of 'Pi' (note that Pi = 3.14159...)  As an exercise try and figure out the rest of the 32 digits with the help of the code language and the "gopi..." shloka.

 

Arithmetic UP TO ARITHMETIC

Home BACK TO HOME