Aryabhatta wrote his most famous treatise, Aryabhatiya, when he was only 23 years old. It contains 121 verses on various topics of mathematics and astronomy, such as the value of pi, the solution of quadratic equations, the calculation of eclipses, and the motion of planets.