# Mathematics of the Jewish Calendar/Gauss' Formula for the Date of Pesach

In 1802, the mathematician Carl Friedrich Gauss published a formula to calculate the date of the first day of Pesach in any year. Albert Einstein is said to have remarked of the formula that not only could nobody but Gauss have produced it, but it would never have occurred to anyone but Gauss that such a formula was possible.

**Gauss' Formula for the Date of Pesach**

Let be the remainder when integer is divided by integer .

Define:

- Jewish year

where is the integer part and the fractional part of the calculated number.

Then 15 Nisan is Mth March in the Julian calendar unless it is postponed for one of the three following reasons:

Define:

- If = 2 or 4 or 6, then 15 Nisan is (+1)th March.

- If = 1, > 6 and ≥ 1367/2160, then 15 Nisan is (+2)th March.

- If = 0, > 11 and ≥ 23269/25920, then 15 Nisan is (+1)th March.

It is trivial to adapt the formula to find the dates of the other main festivals; for example, Purim is always 30 days before Pesach and Rosh Hashana is 163 days after Pesach.

Note that the formula gives the date in the Julian calendar, so an adjustment to the Gregorian calendar is necessary. To find the difference, take the year and discard the last two digits; call the result . Calculate

where, in the division, just take the integer part and discard the remainder. Thus the adjustment is to add 11 days for 1 March 1700-28 February 1800, 12 days for 1 March 1800-28 February 1900, 13 days for 1 March 1900-28 February 2100 and 14 days for 1 March 2100- 28 February 2200. Centuries and therefore C in the above formula always start 1 March.

Note that in the very long term, due to calendar drift, it may be hard to know which year of the Julian calendar this Nisan 15th is in. (See Mathematics of the Jewish Calendar/The long-term accuracy of the calendar.)

## References

edit- "Berechnung des jüdischen Osterfestes", Monatliche Correspondenz zur Beförderung der Erd- und Himmels-Kunde, 5 (1802), 435-437; reprinted in: Carl Friedrich Gauss Werke (Königlichen Gesellschaft der Wissenschaften, Göttingen, 1874), vol. 6, pp. 80-81.
- Hamburger, M. (1896)
*Crelle's Journal*,**116**, p.90 gave the first rigorous proof. - Paper by Zvi Har'El, Technion, Haifa, Israel