login
A224948
Leap years having 53 Wednesdays and Thursdays.
6
1592, 1620, 1648, 1676, 1716, 1744, 1772, 1812, 1840, 1868, 1896, 1908, 1936, 1964, 1992, 2020, 2048, 2076, 2116, 2144, 2172, 2212, 2240, 2268, 2296, 2308, 2336, 2364, 2392, 2420, 2448, 2476, 2516, 2544, 2572, 2612, 2640, 2668, 2696, 2708, 2736, 2764, 2792
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.
14 occurrences in 400 years.
Months having Friday the 13th: March and November.
February 29th falls on Saturday.
366 day leap year: 52 Sundays, 52 Mondays, 52 Tuesdays, 53 Wednesdays, 53 Thursdays, 52 Fridays, 52 Saturdays.
FORMULA
G.f.: x*(1592 + 28*x + 28*x^2 + 28*x^3 + 40*x^4 + 28*x^5 + 28*x^6 + 40*x^7 + 28*x^8 + 28*x^9 + 28*x^10 + 12*x^11 + 28*x^12 + 28*x^13 - 1564*x^14)/(1 - x - x^14 + x^15). - Charles R Greathouse IV, May 16 2026
MATHEMATICA
Needs["Calendar`"]; Select[Range[1583, 2800], DayOfWeek[{#, 1, 1}, Calendar -> Gregorian] == Wednesday && DaysBetween[{#, 1, 1}, {# + 1, 1, 1}, Calendar -> Gregorian] == 366 &, 50] (* T. D. Noe, Apr 22 2013 *)
Select[Range[1583, 3000], LeapYearQ[{#}]&&DayName[{#, 1, 1}]==Wednesday&] (* Ray Chandler, Jul 26 2023, v9 or later, after _Harvey P.Dale_ at A224945 *)
PROG
(PARI) a(n)=(n-1)\14*400+[1964, 1592, 1620, 1648, 1676, 1716, 1744, 1772, 1812, 1840, 1868, 1896, 1908, 1936][n%14+1] \\ Charles R Greathouse IV, May 16 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Aswini Vaidyanathan, Apr 21 2013
STATUS
approved