login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A033172 Number of days in n years (n=3 is the first leap year). 1
365, 730, 1096, 1461, 1826, 2191, 2557, 2922, 3287, 3652, 4018, 4383, 4748, 5113, 5479, 5844, 6209, 6574, 6940, 7305, 7670, 8035, 8401, 8766, 9131, 9496, 9862, 10227, 10592, 10957, 11323, 11688, 12053, 12418, 12784, 13149, 13514, 13879 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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 + 365*x^2 + 366*x + 365)/(x^5 - x^4 - x + 1). (End)
MATHEMATICA
Accumulate[Table[If[LeapYearQ[{y, 1, 1}], 366, 365], {y, 2018, 2058}]] (* Harvey P. Dale, Aug 09 2020 *)
CROSSREFS
Cf. A033171.
Sequence in context: A116354 A276304 A033171 * A033173 A043443 A275271
KEYWORD
easy,nonn
AUTHOR
EXTENSIONS
a(19) corrected by Chai Wah Wu, Jan 27 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)