I am trying to get a formula for repetition of calendars (for years to repeat with same day-date pattern)
I could see the following rule in some of the online sites
a) If given year is at 1st position after Leap year then next repeated calendar year is Given Year + 6.
b) If given year is at 2nd position after Leap year then next repeated calendar year is Given Year + 11.
c) If given year is at 3rd position after Leap year then next repeated calendar year is Given Year + 11.
d) leap years repeat after 28 years
But i did some testing and could see there are exceptions for all these cases. I went through patterns and could not see any reliable pattern which always work. I believe the issue is because fourth centuries are leap years and other centuries are not.
Is there any reliable formula any one is aware to find repetition of calendars ?
Given a non-leap century year $xx00$ in the Gregorian calendar, the following exceptions apply: