That's nothing interesting fact as it happens in every month having 31 days ... even August 1998 got the same pattern and i think so you calculated it wrong as 823 years are hell lot of years