login
A131921
Years between consecutive Leap Days for Gregorian calendar.
1
8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 4, 4, 4, 4, 4, 4, 4
OFFSET
1,1
COMMENTS
There are 97 leap years per 400 years of the Gregorian calendar. To facilitate different search patterns, this period-97 sequence starts for a year such as 1804 (+ or - k*400). Starting this way, the runs of fours have lengths 23, 48, then 23, 23, 48, 23, 23, 48, .... The Gregorian calendar was decreed in 1582, so 1584, the next leap year, corresponds to a(45)=4; 1580 was a leap year in both the Julian and (proleptic) Gregorian calendars.
FORMULA
a(n+97) = a(n) for n >= 1.
EXAMPLE
a(1) = 8 as there are eight years between Leap Day of 1796 and the next Leap Day, which is in 1804. Century years such as 1800 not divisible by 400 are not leap years in the Gregorian calendar.
CROSSREFS
Sequence in context: A245720 A229495 A370198 * A129105 A226276 A277530
KEYWORD
easy,nonn
AUTHOR
Rick L. Shepherd, Jul 28 2007
STATUS
approved