OFFSET
1901,1
COMMENTS
2000 was a leap year, so no reinitializing was needed.
Calendars are continuous so they roll from Dec 31 to Jan 01. The intercalation of the leap years causes the unusual sequence.
a(n) = 1 for years starting on a Sunday, 2 for years starting on a Monday, so on to 7; 8 for leap years starting on a Sunday, 9 for leap years starting on Monday, so on to 14. - Alonso del Arte, Nov 02 2004
REFERENCES
World Almanac 2003, Perpetual calendar on pages 647-648.
EXAMPLE
a(2003) = 4 because 2003 is a year starting on a Wednesday.
a(2004) = 5 because 2004 is a leap year starting on a Thursday.
CROSSREFS
KEYWORD
nonn
AUTHOR
Brendan Sullivan (bsulliva(AT)austarnet.com.au), Dec 13 2003
EXTENSIONS
More terms from Ray Chandler, Dec 23 2003
STATUS
approved