Mathematics of the Jewish Calendar/Slonimsky's Formula for the Year Type

In 1844, Rabbi Chaim Zelig Slonimsky (1810-1904) published a modification of Gauss' formula that can be used to calculate the year type of any given year. The version below is his modified formula of 1852.

Let the Jewish year be A. Calculate the remainder r of the division

(7A-6)/19

If r < 12, the year is ordinary, otherwise it is leap.

Calculate

K = 0.178117457A + 0.777965458r + 0.2533747

and take the decimal part, discarding the integer part.

The year type may then be read from the following table:

r < 5

K

≥ 0.000000 ; 1

≥ 0.090410 ; 2

≥ 0.271103 ; 3

≥ 0.376121 ; 4

≥ 0.661835 ; 5

≥ 0.714282 ; 6

≥ 0.752248 ; 7

r = 5, 6, 7

K

≥ 0.000000 ; 1

≥ 0.090410 ; 2

≥ 0.271103 ; 3

≥ 0.376121 ; 4

≥ 0.661835 ; 5

≥ 0.714282 ; 6

≥ 0.804693 ; 7

r = 8 to 11

K

≥ 0.000000 ; 1

≥ 0.090410 ; 2

≥ 0.271103 ; 3

≥ 0.376121 ; 4

≥ 0.661835 ; 5

≥ 0.714282 ; 6

≥ 0.804693 ; 7

r > 11

K

≥ 0.000000 ; 8

≥ 0.157466 ; 9

≥ 0.285711 ; 10

≥ 0.428570 ; 11

≥ 0.533590 ; 12

≥ 0.714282 ; 13

≥ 0.871750 ; 14

The formula calculates a function of the Molad. The lower limits are calculated as the same function of the lower bounds for the Molads of each year type. The function is as follows: