OFFSET
1,1
COMMENTS
In the Julian calendar, a year is a leap year if and only if it is a multiple of 4 and all century years are leap years.
Assuming this fact, this sequence is periodic with a period of 336.
This is the complement of A231010.
LINKS
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(336, i, (m[((i-1)%12)+1]+((5*((i-1)\48)+(((i-1)\12)%4)-!((i-1)%48)-!((i-2)%48))))%7); x=vector(336, i, n[((i-1)%12)+1]+!((i-2)%48)); for(p=0, 336, j=0; for(q=0, 336, if(y[(q%336)+1]==y[((q+p)%336)+1], j=1; break)); if(j==0, print1(p", ")))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Aswini Vaidyanathan, Nov 02 2013
STATUS
approved