How the ancient seers sang the long decimal form of Pi In ancient India they would sing songs to memorize long decimals. The ancient Indians secretive of their knowledge sonically encrypted mathematical formulas into their devotional hymns to Lord Shri Krishna and also recorded historical data in the codified lyrics. The system has similarities from numerology where values of numbers are ascribed to consonants (As in A = 1, B = 2, C = 3, D = 4) … but the Vedic Code was so sophisticated in Sanskrit because it had three layers and therefore had triple meanings. It turns out that the decimal form of the transcendental mathematical number: Pi = 3.1415926535897…. was hidden or codified in the syllables in the following Sanskrit chant:

gopi bhagya madhuvrata
srngiso dadhi sandhiga
khala jivita khatava
gala hala rasandara The translation is as follows: “O Lord anointed with the yoghurt of the milkmaids’ worship (Krishna), O saviour of the fallen, O master of Shiva, please protect me.” The code used is as follows:
The Sanskrit consonants
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 represent 4;
gna, na, ma, and sa all represent 5;
ca, ta, and sa 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
ka means zero. Vowels make no difference and it is left to the author to select a particular consonant or vowel at each step. This great latitude allows one to bring about additional meanings of his own choice. For example kapa, tapa, papa, and yapa all mean 11. Therefore the top line, go = 3, pi = 1, bha =4 , ya = 1 , ma = 5 , duv = 9 etc which gives the first six figures of pi the circumference of a circle to its diameter. At the same time, by application of the consonant code given above, this verse directly yields the decimal equivalent of pi divided by 10: pi/10 = 0.31415926535897932384626433832792. Thus, while offering mantric praise to Godhead in devotion, by this method one can also add to memory significant secular truths. Also not only did the code give pi upto 32 decimal places , but there was a secret Master key within the patterning of the 32 that could unlock the next 32 decimals of the pi, and so on. A Tick to infinity. The Code not only praised Krishna, it operated on another level as a dedication to Lord Shankara or Shiva. Vedic Mathematics is Amazing Isnt it?I personally know a young friend of mine Shanu A. from Kerela who has recently entered the Guiness Book of Records for his feat of memorising the value of Pi upto 50,000 places. He says he has been inspired by the Vedic numerical code which he used to memorise the entire value of Pi. He used the Vedic Numerical Code innovatively as a peg system and improvised on it. That was his secret. Here is an article on him from a newspaper The HinduArticle Ref: Vedic Mathematics by BKT Maharaja, Jain in Nexus Magazine


  1. “this verse directly yields the decimal equivalent of pi divided by 10: “

    Is it a copy-paste? Could you please explain the above statement? Where does the “pi divided by 10” coming from? Not from the numerical code for sure.

  2. I don’t understand how the song could be used to calculate pi to an infinite number of decimal places?

    Is it a very long song?!

    just pi shifted over one decimal place ~ ignore the 0.!

  3. it is in encrypted form of Slokas.. we can mug up slok easy.. but, huge decimal number its embrassing!! so, that time in india rishis store the maths in vedic hymns!!