How did you get the offsets for the leap years? How did you conjure up this pattern? Please explain. This helped me out tremendously.