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!)
A011763 Days in year in proleptic Gregorian calendar. 4

%I #15 Oct 13 2022 15:28:24

%S 365,365,365,366,365,365,365,366,365,365,365,366,365,365,365,366,365,

%T 365,365,366,365,365,365,366,365,365,365,366,365,365,365,366,365,365,

%U 365,366,365,365,365,366,365,365,365,366,365,365,365,366

%N Days in year in proleptic Gregorian calendar.

%C This sequence is periodic with period 400. The exceptions to the apparent period 4 are a(100) = a(200) = a(300) = 365. - _Franklin T. Adams-Watters_, Jul 10 2009

%H <a href="/index/Ca#calendar">Index entries for sequences related to calendars</a>

%H <a href="/index/Rec#order_400">Index entries for linear recurrences with constant coefficients</a>, order 400.

%t (* first do *) Needs["Calendar`"] (* then *) Table[ DaysBetween[{y, 1, 1}, {y + 1, 1, 1}], {y, 48}] (* _Robert G. Wilson v_, Apr 18 2010 *)

%o (PARI) a(n)=if(n%4, 365, if(n%100, 366, n%400, 366, 365)) \\ _Charles R Greathouse IV_, Oct 13 2022

%K nonn,easy

%O 1,1

%A Juan-Carlos Lerman (jclerm(AT)aztec.asu.edu)

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 25 05:18 EDT 2024. Contains 371964 sequences. (Running on oeis4.)