It is interesting to note the advances made in mathematics in ancient India.
It is well known that the zero was invented in ancient India. Much of the mathematics was developed for ritual purposes. The shulba sutra (rope manual) gives elaborate mathematical instructions on constructing altars to conduct sacrifices in.
Aryabhatta contributed much to the development of the mathematical tradition.