login
A033173
Number of days in n years (n=2 is the first leap year).
0
365, 731, 1096, 1461, 1826, 2192, 2557, 2922, 3287, 3653, 4018, 4383, 4748, 5114, 5479, 5844, 6209, 6575, 6940, 7305, 7670, 8036, 8401, 8766, 9131, 9497, 9862, 10227, 10592, 10958, 11323, 11688, 12053, 12419, 12784, 13149, 13514, 13880
OFFSET
1,1
FORMULA
From Chai Wah Wu, Jan 27 2020: (Start)
See caveat in A033171 formula section.
a(n) = a(n-1) + a(n-4) - a(n-5) for n > 5.
G.f.: x*(365*x^3 + 366*x^2 + 365*x + 365)/(x^5 - x^4 - x + 1). (End)
CROSSREFS
Cf. A033171.
Sequence in context: A276304 A033171 A033172 * A043443 A275271 A062681
KEYWORD
easy,nonn
AUTHOR
EXTENSIONS
a(19) corrected by Chai Wah Wu, Jan 27 2020
STATUS
approved