Week num formula