login
A073305
Remaining days in leap year at end of n-th month.
1
366, 335, 306, 275, 245, 214, 184, 153, 122, 92, 61, 31, 0
OFFSET
0,1
COMMENTS
a(0)=A073304(0)+1 and a(1)=A073304(1)+1; these sequences otherwise are identical since there is only one leap day and it is in the second month.
EXAMPLE
a(1)=335 because there are 335 days left in a leap year at the end of January, the first month.
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 *)
CROSSREFS
Cf. A073304 (remaining days in non-leap year), A061251 (elapsed days at end of n-th month beginning with non-leap year).
Sequence in context: A208391 A208398 A258485 * A248552 A259077 A219960
KEYWORD
fini,full,nonn
AUTHOR
Rick L. Shepherd, Jul 23 2002
STATUS
approved