Reusing old calendarsI got many calendars that I like depicting famous art pieces. As you may know, these are quite expensive. So I was wondering, in which year you could reuse the old ones, instead of buying a new one?
To answer this question, I programmed a tiny program (see source code below).
This is how it works: All years in one table column have the 1st of March on the same weekday. Of course, this means that in leap years, the weekdays in months February and January will not be correct.
For instance, in 2016 1st of March is a Tuesday. So we go into that column and see that the calendar from 2011 or 2005 could be re-used. In 2017, we could reuse that old calendar from 2006.
MATLAB program used to prepare the table. Contains an example for accumarray, a function underappreciated by many.