A189916 Sequence for finding the day of the week for the first day of the month in leap years.
0, 3, 4, 0, 2, 5, 0, 3, 6, 1, 4, 6
Offset: 1
Examples
In the year 2008 Jan 01 has index 2 (Tuesday). Therefore, Feb 01 has index 2+3 = 5 (mod 7) (Friday), Mar 01 has index 2+4 = 6 (mod 7) (Saturday), Apr 01 falls again on a Tuesday, May 01 has index 2+2 = 4 (Thursday), Jun 01 has index 2+5= 0 (mod 7) (Sunday). Jul 01 falls again on Tuesday, etc. For leap years in which Jan 01 has index 0 (Sunday) the pattern for the first days of the months is Sun, Wed, Thu, Sun, Tue, Fri, Sun, Wed, Sat, Mon, Thu, Sat.
References
- See A189915.
Comments