1. INDIAN KNOWLEDGE SYSTEM AND PI VALUE COMPUTATION
and Guru (G) in Sanskrit [9, 10, 11]. Pingala’s Chandasastra is also depicted in Sanskrit literature [12, 13, 14]. Sanskrit has been considered a language for knowledge representation [15]; related constructions in other countries are known as Pascal’s triangle, as shown in Figure 2.
The computation of π and infinite series has long been considered an important mathematical problem [1, 2, 3]. Baudhayana explored the area of a circle using a square, as shown in Figure 1 [4, 5]. The area of the circle was understood to be approximately equal to the square of its radius, giving an approximation of 3 in the Sulbasutra [6, 7]. The mathematical exploration is connected in this paper to Turiyam awareness [8].
The exploration continued with Pingala’s binary number system and the representation of combinations using Laghu (L)
The Pingala series is also associated with Jyotirlinga constructions, illustrated in Figure 3; Figure 4 presents other geometries based on the series.
Aryabhata gave a formula for computing π in Sanskrit [16, 17]:
Caturadhikam satamastagunam dvasashtistatha sahasranam; ayutadvayaviskambhasy asanno vrittaparinahah.
The calculation adds 4 to 100, multiplies the result by 8, and then adds 62,000. The resulting circumference, 62,832, is divided by a diameter of 20,000, giving π ≈3.1416:
100+4 = 104, 104×8 = 832, (1)
832+62,000 = 62,832, π = 62,832
20,000 ≈3.1416.
Aryabhata also used this value in spherical geometry, shown in Figure 5.
Narayana extended the Pingala-inspired sequence through a problem about cows: starting with one cow, each cow gives birth to one calf each year from the age of four. The number of calves follows the third-order recurrence [18]
Cn = Cn−1 +Cn−3, n ≥3, C0 = C1 = C2 = C3 = 1.
The Egyptian Papyrus presents another approach, using the circumference-to-diameter ratio, as shown in Figure 6 [19]. A game-like arrangement uses 64 balls to represent a circle and 9 balls along its diameter, as shown in Figure 7. The circle is also represented using a square whose area is related to the circle’s area in Figures 8 and 9.
Madhava developed series for sine, cosine, and the inverse tangent in the early fourteenth century [20]. Their series
forms are shown in Figure 10 and written below:
(−1)kθ 2k+1
∞ ∑ k=0
(2k +1)! , (4) sinθ =
(−1)kθ 2k
∞ ∑ k=0 cosθ =
(2k)! , (5)
(−1)kx2k+1
∞ ∑ k=0
arctanx =
Madhava also gave a formula for computing π in Sanskrit, shown in Figure 11, with its mathematical exploration in Figure 12.
Setting x = 1 in the Madhava inverse-tangent series gives the Leibniz formula [1]:
(−1)n
4 = ∞ ∑ n=0
Figure 13 illustrates this formula. The series of reciprocal squares gives Euler’s approximation, shown in Figure 14 [21]:
6 = ∞ ∑ n=1
1 n2 = 1+ 1
Nilakantha gave an infinite series for computing π, shown in Figure 15. It uses products of three consecutive numbers in each denominator, with the variable increasing by two and the sign alternating:
The pseudocode below iterates up to a chosen limit of one million terms:
n = 2; pi = 3; sign = 1 for i = 0 to 1,000,000:
pi = pi + sign * 4/(n*(n+1)*(n+2)) sign = -sign n = n + 2 print(pi)
The paper reports a maximum computational complexity of O(nlognloglogn). This exploration of π is framed in terms of Turiyam consciousness rather than only indigenous or nonindigenous categories. Future work will explore the Buffon needle problem, illustrated in Figure 16 [22].
2. CONCLUSION
This paper presents a mathematical exploration of π and its computation in the context of the Indian Knowledge System, alongside comparisons with the Egyptian Papyrus and other mathematicians. It discusses the computation of π using infinite series and describes the Nilakantha method. The discussion aims to support early-career researchers and students in data visualization and to inform decision-making applications involving π.