OFFSET
1,1
FORMULA
From Chai Wah Wu, Jan 25 2020: (Start)
As the beginning year is not specified, the sequence is only well-defined if we ignore the rule where if a year is divisible by 100 but not by 400, it is not a leap year. Assuming that, we have the following formulas:
a(n) = a(n-1) + a(n-4) - a(n-5) for n > 5.
G.f.: x*(366*x^3 + 365*x^2 + 365*x + 365)/(x^5 - x^4 - x + 1). (End)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
STATUS
approved