One of those that is easy to say, a little more difficult to do in AI2 !
We needed to use quotients and remainders along with getting the number of days in the first week to work this out
Tested most of the scenarios for this, they all appear to work.
I include an aia file for reuse
SCREEN

BLOCKS

Enjoy :)
note: there may be a much better way to do this (couldn't find following a forum search), or even an extension to handle this scenario (I didn't look for one as was interested in working it out)