Latest version of this paper and the code used to produce it are available from

In the "Laws of Sanctification of the Moon", Rambam gives algorithmic description of two calendars: fixed ("arithmetic") and observational ("astronomical"). Both calendars are described in a form ready to be implemented, but the reasons for the calculation steps - especially for the astronomical calendar - are not always given: what are the models - and the formulae resulting from them - that reproduce the numbers? Sometimes Rambam describes the models, so only the formulae need to be reconstructed; sometimes the models are not described, so both the models and the formulae need to be reconstructed.

Goals of this paper are:

Approximate timeline of the project:

I want to acknowledge people who contributed to the content of this work - and to the fact of its existence ;) If your name should be on this list but isn't, please forgive me: the omission is not intentional.