How was the sequence discovered? Most textbooks would credit the Italian mathematician Leonardo of Pisa (later named Fibonacci) for the discovery of the aforementioned sequence, better known as the Fibonacci Sequence. It is generally taught that Fibonacci discovered the sequence while calculating how fast rabbits could breed.
But what if I tell you that the Fibonacci Sequence was studied centuries before the great mathematician was born?
Yes, an Indian poet and scholar, Acharya Pingala, composed the Chandaḥśāstra, a treatise on Sanskrit poetic metres, around 200 BCE. His Chandaḥśāstra systematically examined Sanskrit poetic metres and methods for enumerating patterns of short and long syllables.

Acharya Pingala (c. 3rd–2nd century BCE), author of the Chandaḥśāstra
Let us understand how this connects to the Fibonacci Sequence.
In Sanskrit prosody, syllables can be classified as follows:
- Laghu: A short syllable, corresponding to 1 beat.
- Guru: A long syllable, corresponding to 2 beats.
Let us denote the Laghu syllable as A and the Guru syllable as B.
Now we have a question: How many different combinations of short and long syllables can we create if we are given a fixed number of beats, ?
Start with :
There is only 1 combination, a short syllable, i.e., A.
Now, :
There are 2 combinations: AA and B.
For :
There are 3 combinations: AAA, AB, BA.
For :
There are 5 combinations: AAAA, AAB, BAA, ABA, BB.
Do you notice the pattern? If denotes the number of different combinations for beats, the pattern shows that
and recursively,
This is indeed the recursive formulation for the Fibonacci Sequence.
The Fibonacci-like pattern was studied by Indian scholars, although the explicit recurrence is more securely associated with later scholars such as Virahanka and Hemachandra rather than Pingala alone.
But this is just an observation so far, and we have not proved anything yet.
So, here I propose the following conjecture:
Given that denotes the total number of different combinations of short and long syllables for a duration of beats, and , we have the formulation:
Proof
We need to find , or the different combinations of short and long syllables for beats. Any combination will either end with a short or a long syllable (trivial, right?).
Case I: It ends with a short syllable (meaning 1 beat)
If it ends with a short syllable, then the combination of beats preceding it must equal beats. Can you find the total number of combinations with beats? Yes, that is !
Case II: It ends with a long syllable (meaning 2 beats)
If it ends with a long syllable, then the combination of beats preceding it must equal beats. Can you find the total number of combinations with beats? Yes, that is !
Note that these two cases are exhaustive, as we can only have a 1-beat or a 2-beat syllable in our combinations.
So, from these two cases, we can conclude that:
Q.E.D.
So the Fibonacci Sequence was studied in ancient India, centuries before it was popularized in Europe under the name of the mathematician Fibonacci.
This is the recursive formulation of the Fibonacci Sequence that we just found out. Let us try to find out the closed-form formulation for this sequence.
Finding the Closed-Form Formula
We have the following recurrence formulation:
Rewriting,
Now let us form a characteristic equation. Assume the solution is of the form:
We can now rewrite our equation as:
Dividing each term by , we get:
By the Bhaskara formula, the roots of any quadratic equation in the form are given by:
Applying that formula to our equation, we get:
Simplifying,
Root 1:
Root 2:
We call the value phi () and the value psi ().
Therefore,
Because the roots are distinct, the general solution is a linear combination of the powers of both roots:
Equivalently,
We know that, for the Fibonacci Sequence:
Solve for constants A and B
For :
Since :
For :
Since :
Substituting :
Rearranging,
Since
we get
Therefore,
Since :
So this is our final closed-form formulation:
This is called Binet’s formula.
This formula can be used to compute the th number in the sequence without the need for the previous two terms.
Note that the conventional Fibonacci Sequence starts with and , whereas our poetic counting function starts with and . Therefore, the total number of combinations for beats is given by:
The Golden Ratio
Now, a little about
This is called the Golden Ratio, one of the most beautiful numbers in mathematics.
Here are some elegant facts.
The Golden Ratio has been associated with human body proportions, such as the ratio of total body height to the distance from the navel to the floor, and the lengths of finger phalanges (bone sections).
The ratio frequently appears in discussions of efficient structural configurations in biology. For instance, sunflower seeds, pinecones, and flower petals often form opposing spirals whose counts correspond to consecutive Fibonacci numbers. In some plant arrangements, these patterns are associated with the Golden Angle, approximately .
Much like the rule of thirds, designers sometimes use the Golden Ratio as a compositional grid to manage negative space, structure web layouts, and balance visual weight. However, its use does not guarantee a more aesthetically pleasing design.
If you take any two successive numbers in the Fibonacci Sequence and divide the higher number by the lower one, the resulting value gets closer and closer to as the numbers grow larger.
For example,
As the numbers grow larger, these ratios approach:
That’s it for this article. There’s a lot we still have to talk about regarding the Fibonacci Sequence, the Golden Ratio, and, of course, ancient Indian science, and we will do so in upcoming articles.
Happy learning!