Advanced mathematics was critical to the development of the Mayan calendar. The Maya needed a system of mathematics to record celestial movements over the years, to handle large numbers, and to calculate the solar and lunar year with great precision.