OFFSET
0,3
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 4800.
LINKS
EXAMPLE
1 belongs to this sequence because February 1, 2013 falls on the same day as March 1, 2013.
3 belongs to this sequence because December 1, 2011 falls on the same day as March 1, 2012.
6 belongs to this sequence because January 1, 2012 falls on the same day as July 1, 2012.
8 belongs to this sequence because March 1, 2013 falls on the same day as November 1, 2013.
9 belongs to this sequence because January 1, 2013 falls on the same day as October 1, 2013.
11 belongs to this sequence because December 1, 2011 falls on the same day as November 1, 2012.
PROG
(PARI) m=[0, 3, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5]; n=[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; y=vector(4800, i, (m[((i-1)%12)+1]+((5*((i-1)\48)+(((i-1)\12)%4)-((i-1)\1200)+((i-1)\4800)-!((i-1)%48)+!((i-1)%1200)-!((i-1)%4800)-!((i-2)%48)+!((i-2)%1200)-!((i-2)%4800))))%7); x=vector(4800, i, n[((i-1)%12)+1]+!((i-2)%48)-!((i-2)%1200)+!((i-2)%4800)); for(p=0, 4800, for(q=0, 4800, if(y[(q%4800)+1]==y[((q+p)%4800)+1], print1(p", "); break)))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Aswini Vaidyanathan, Nov 02 2013
STATUS
approved