Since it emerged sometime in the middle of the first millennium BCE the principal function of mathematical astronomy was to provide the most accurate possible predictions of the future positions of the main celestial bodies. This information was contained in the form of tables calculated with the help of the mathematical models, which had been derived by the astronomers from the observed behaviour of those bodies, the planets. The earliest Babylonian models were algebraic but were soon replaced by the Greeks with geometrical models based on spheres and circles. To a large extent it did not matter if those models were depictions of reality, what mattered was the accuracy of the prediction that they produced; that is the reliability of the associated tables. The models of mathematical astronomy were judge on the quality of the data they produced and not on whether they were a true reproduction of what was going on in the heavens. This data was used principally for astrology but also for cartography and navigation. Mathematical astronomy was a handmaiden to other disciplines.

Before I outline the history of such tables, a brief comment on terminology. Data on the movement of celestial bodies is published under the titles planetary tables and ephemerides (singular ephemeris). I know of no formal distinction between the two names but as far as I can determine planetary tables is generally used for tables calculated for quantitatively larger intervals, ten days for example, and these are normally calculated directly from the mathematical models for the planetary movement. Ephemeris is generally used for tables calculated for smaller interval, daily positions for example, and are often not calculated directly from the mathematical models but are interpolated from the values given in the planetary tables. Maybe one of my super intelligent and incredibly well read readers knows better and will correct me in the comments.

The Babylonians produced individual planetary tables, in particular of Venus, but we find the first extensive set in the work of Ptolemaeus. He included tables calculated from his geometrical models in his Syntaxis Mathematiké (The Almagest), published around 150 CE, and to make life easier for those who wished to use them he extracted the tables and published them separately, in extended form with directions of their use, in what is known as his Handy Tables. This publication provided both a source and an archetype for all future planetary tables.

The important role played by planetary tables in mathematical astronomy is illustrated by the fact that the first astronomical works produced by Islamic astronomers in Arabic in the eighth-century CE were planetary tables known in Arabic as zījes (singular zīj). These initial zījes were based on Indian sources and earlier Sassanid Persian models. These were quickly followed by those based on Ptolemaeus’ Handy Tables. Later sets of tables included material drawn from Islamic Arabic sources. Over 200 zījes are known from the period between the eighth and the fifteenth centuries. Because planetary tables are dependent on the observers geographical position most of these are only recalculation of existing tables for new locations. New zījes continued to be produced in India well into the eighteenth-century.

With the coming of the European translators in the twelfth and thirteenth centuries and the first mathematical Renaissance the pattern repeated itself with zījes being amongst the first astronomical documents translated from Arabic into Latin. Abū ʿAbdallāh Muḥammad ibn Mūsā al-Khwārizmī was originally better known in Europe for his zīj than for *The Compendious Book on Calculation by Completion and Balancing” (al-Kitab al-mukhtasar fi hisab al-jabr wa’l-muqabala)*, the book that introduced algebra into the West. The *Toledan Tables* were created in Toledo in the eleventh-century partially based on the work of Abū Isḥāq Ibrāhīm ibn Yaḥyā al-Naqqāsh al-Zarqālī, known in Latin as Arzachel. In the twelfth-century they were translated in Latin by Gerard of Cremona, the most prolific of the translators, and became the benchmark for European planetary tables.

In the thirteenth- century the *Toledan Tables* were superseded by the Alfonsine Tables, which were produced by the so-called Toledo School of Translators from Islamic sources under the sponsorship of Alfonso X of Castile. *The Alfonsine Tables* remained the primary source of planetary tables and ephemerides in Europe down to the Renaissance where they were used by Peuerbach, Regiomontanus and Copernicus. Having set up the world’s first scientific press Regiomontanus produced the first ever printed ephemerides, which were distinguished by the accuracies of their calculations and low level of printing errors. Regiomontanus’ ephemerides were very popular and enjoyed many editions, many of them pirated. Columbus took a pirate edition of them on his first voyage to America and used them to impress some natives by accurately predicting an eclipse of the moon.

By the fifteenth-century astronomers and other users of astronomical data were very much aware of the numerous inaccuracies in that data, many of them having crept in over the centuries through frequent translation and copying errors. Regiomontanus was aware that the problem could only be solved by collecting new basic observational data from which to calculate the tables. He started on such an observational programme in Nürnberg in 1470 but his early death in 1475 put an end to his endeavours.

When Copernicus published his *De revolutionibus* in 1543 many astronomers hoped that his mathematical models for the planetary orbits would lead to more accurate planetary tables and this pragmatic attitude to his work was the principle positive reception that it received. Copernicus’ fellow professor of mathematic in Wittenberg Erasmus Reinhold calculated the first set of planetary tables based on *De revolutionibus*. *The Prutenic Tables*, sponsored by Duke Albrecht of Brandenburg Prussia (Prutenic is Latin for Prussian), were printed and published in 1551. Ephemerides based on Copernicus were produced by Johannes Stadius, a student of Gemma Frisius, in 1554 and by John Feild (sic), with a forward by John Dee, in 1557. Unfortunately they didn’t live up to expectations. The problem was that Copernicus’ work and the tables were based on the same corrupted data as the *Alfonsine Tables*. In his unpublished manuscript on navigation Thomas Harriot complained about the inaccuracies in the *Alfonsine Tables* and then goes on to say that the *Prutenic Tables* are not any better. However he follows this complaint up with the information that Wilhelm IV of Hessen-Kassel and Tycho Brahe on Hven are gathering new observational data that should improve the situation.

As a young astronomer the Danish aristocrat, Tycho Brahe, was indignant that the times given in both the Alfonsine and the Prutenic tables for a specific astronomical event that he wished to observe were highly inaccurate. Like Regiomontanus, a hundred years earlier, he realised that the problem lay in the inaccurate and corrupted data on which both sets of tables were based. Like Regiomontanus he started an extensive programme of astronomical observations to solve the problem, initially at his purpose built observatory financed by the Danish Crown on the island of Hven and then later, through force of circumstances, under the auspices of Rudolph II, the Holy Roman German Emperor, in Prague. Tycho devoted almost thirty years to accruing a vast collection of astronomical data. Although he was using the same observational instruments available to Ptolemaeus fifteen hundred years earlier, he devoted an incredible amount of time and effort to improving those instruments and the methods of using them, meaning that his observations were more accurate by several factors than those of his predecessors. What was now needed was somebody to turn this data into planetary tables, enter Johannes Kepler. Kepler joined Tycho in Prague in 1600 and was specifically appointed to the task of producing planetary tables from Tycho’s data. Contrary to popular belief he was not employed by Tycho but directly by Rudolph.

Following Tycho’s death, a short time later, a major problem ensued. Kepler was official appointed Imperial Mathematicus, as Tycho’s successor, and still had his original commission to produce the planetary tables for the Emperor, however, legally, he no longer had the data; this was Tycho’s private property and on his death passed into the possession of his heirs. Kepler was in physical possession of the data, however, and hung on to it during the protracted, complicated and at times vitriolic negotiations with Tycho’s son in law, Frans Gansneb Genaamd Tengnagel van de Camp, over their future use. In the end the heirs granted Kepler permission to use the data with the proviso that any publications based on them must carry Tengnagel’s name as co-author. Kepler then proceeded to calculate the tables.

Put like this, it sounds like a fairly straightforward task, however it was difficult and tedious work that Kepler loathed intensely. It was not made any easier by the personal and political circumstances surrounding Kepler over the years he took to complete the task. Wars, famine, usurpation of the Emperor’s throne (don’t forget the Emperor was his employer) and family disasters all served to make his life more difficult.

Finally in 1626, twenty-six years after he started Kepler had finally reduced Tycho’s thirty years of observations into planetary tables for general use, now he only had to get them printed. Drumming up the financial resources for the task was the first hurdle that Kepler successfully cleared. He then purchased the necessary paper and settled in Linz to complete the task of turning his calculations into a book. As the printing was progressing all the Protestants in Linz were ordered to leave the city, Kepler, being Imperial Mathematicus, and his printer were granted an exemption to finish printing the tables but then Wallenstein laid siege to the city to supress a peasants uprising. In the ensuing chaos the printing shop and the partially finished tables went up in flames.

Leaving Linz Kepler now moved to Ulm where, starting from the beginning again, he was finally able to complete the printing of the *Rudophine Tables*, named after the Emperor who had originally commissioned them but dedicated to the current Emperor, Ferdinand II. Although technically not his property, because he had paid the costs of having them printed Kepler took the finished volumes to the book fair in Frankfurt to sell in September 1627.

Due to the accuracy of Tycho’s observational data and the diligence of Kepler’s mathematical calculations the new tables were of a level of accuracy never seen before in the history of astronomy and fairly quickly became the benchmark for all astronomical work. Perceived to have been calculated on the basis of Kepler’s own elliptical heliocentric astronomy they became the most important artefact in the general acceptance of heliocentricity in the seventeenth century. As already stated above systems of mathematical astronomy were judged on the data that they produced for use by astrologers, cartographers, navigators et al. Using the *Rudolphine Tables* Gassendi was able to predict and observe a transit of Mercury in 1631, as Jeremiah Horrocks succeeded in predicting and observing a transit of Venus for the first time in human history based on his own calculations of an ephemeris for Venus using Kepler’s tables, it served as a confirming instance of the superiority of both the tables and Kepler’s elliptical astronomy, which was the system that came to be accepted by most working astronomers in Europe around 1660. The principle battle in the war of the astronomical systems had been won by a rather boring set of mathematical tables, Johannes Kepler’s *Tabulae Rudolphinae*.