A073305 Remaining days in leap year at end of n-th month.
366, 335, 306, 275, 245, 214, 184, 153, 122, 92, 61, 31, 0
Offset: 0
Examples
a(1)=335 because there are 335 days left in a leap year at the end of January, the first month.
Crossrefs
Programs
-
Mathematica
Join[{366},(DateDifference[#,{2016,12,31}]&/@Table[Select[Table[ DatePlus[ {2016,m,1},{d,"Day"}],{d,30}],#[[2]]==m&][[-1]],{m,12}])[[All,1]]] (* Harvey P. Dale, Nov 29 2020 *)
Comments