login
Number of days in n years (n=1 is the first leap year).
0

%I #10 Jan 28 2020 00:29:32

%S 366,731,1096,1461,1827,2192,2557,2922,3288,3653,4018,4383,4749,5114,

%T 5479,5844,6210,6575,6940,7305,7671,8036,8401,8766,9132,9497,9862,

%U 10227,10593,10958,11323,11688,12054,12419,12784,13149,13515,13880

%N Number of days in n years (n=1 is the first leap year).

%F From _Chai Wah Wu_, Jan 27 2020: (Start)

%F See caveat in A033171 formula section.

%F a(n) = a(n-1) + a(n-4) - a(n-5) for n > 5.

%F G.f.: x*(365*x^3 + 365*x^2 + 365*x + 366)/(x^5 - x^4 - x + 1). (End)

%Y Cf. A033171.

%K easy,nonn

%O 1,1

%A _Jeff Burch_