OFFSET
1,1
COMMENTS
Gregorian calendar repeats after every 400 years because number of days in 400 years is 146097 which is a multiple of 7.
Non-century years are leap years if and only if they are multiples of 4 while century years are leap years if and only if they are multiples of 400.
15 occurrences in 400 years.
Months having Friday the 13th: January, April and July.
February 29th falls on Wednesday.
366 day leap year: 53 Sundays, 53 Mondays, 52 Tuesdays, 52 Wednesdays, 52 Thursdays, 52 Fridays, 52 Saturdays.
LINKS
Time and Date, The Gregorian calendar
Time and Date, 2012
Wikipedia, Gregorian calendar
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1).
MATHEMATICA
Needs["Calendar`"]; Select[Range[1583, 2800], DayOfWeek[{#, 1, 1}, Calendar -> Gregorian] == Sunday && DaysBetween[{#, 1, 1}, {# + 1, 1, 1}, Calendar -> Gregorian] == 366 &, 50] (* T. D. Noe, Apr 22 2013 *)
Select[Range[1583, 3000], LeapYearQ[{#}]&&DayName[{#, 1, 1}]==Sunday&] (* Harvey P. Dale, Jul 04 2018, v9 or later *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Aswini Vaidyanathan, Apr 21 2013
STATUS
approved