In the case you don’t know how exactly this goes. Every year divisible by four is a leap year. Unless it is also divisible by 100 – then it is not. Unless it is also divisible by 400. In that case it’s a leap year.

An algorithm in a computer language may follow these instructions. Usually it does. But here you have something better. The first 100 leap years generator. It is in a “Taylorian manner”, where just a relative value from some initial point is given. The first leap year is zero, the second 4 and so on. You have to add this results to 1600, 2000, 2400 and so on. The cosine function is employed to calculate the next leap year in the R0 register.

I wouldn’t mention it at all, but the inventor is not a human being and it’s a very good example of a “pure mechanical invention”.

### Like this:

Like Loading...

*Related*