This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A230995 Number of years after which a date can fall on the same day of the week, in the Gregorian calendar. 24
 0, 5, 6, 7, 11, 12, 17, 18, 22, 23, 28, 29, 33, 34, 35, 39, 40, 45, 46, 50, 51, 56, 57, 61, 62, 63, 67, 68, 73, 74, 78, 79, 84, 85, 89, 90, 91, 95, 96, 101, 102, 106, 107, 108, 112, 113, 114, 117, 118, 119, 123, 124, 125, 129, 130, 131, 134, 135, 136, 140, 141, 142 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS In the Gregorian calendar, a non-century year is a leap year if and only if it is a multiple of 4 and a century year is a leap year if and only if it is a multiple of 400. Assuming this fact, this sequence is periodic with a period of 400. LINKS Time And Date, Repeating Calendar Time And Date, Gregorian Calendar EXAMPLE 5 belongs to this sequence because January 1, 2008 falls on same day as January 1, 2013. 6 belongs to this sequence because January 1, 2009 falls on same day as January 1, 2015. 7 belongs to this sequence because January 1, 2097 falls on same day as January 1, 2104. PROG (PARI) for(i=0, 400, for(y=0, 400, if(((5*(y\4)+(y%4)-(y\100)+(y\400))%7)==((5*((y+i)\4)+((y+i)%4)-((y+i)\100)+((y+i)\400))%7), print1(i", "); break))) CROSSREFS Cf. A230995-A231014. Cf. A231000 (Julian calendar). Sequence in context: A026309 A073936 A184811 * A064615 A300957 A139205 Adjacent sequences:  A230992 A230993 A230994 * A230996 A230997 A230998 KEYWORD nonn,easy AUTHOR Aswini Vaidyanathan, Nov 02 2013 STATUS approved

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

Last modified August 18 20:02 EDT 2019. Contains 326109 sequences. (Running on oeis4.)