Duplicate mc into even rows/columns

I how I would go about duplicating a movieclip into rows & columns

like

is the mc

and after every fifth one have a new y value

and so on…I was thinking there was a way to do it with the modulo operator %

but I’m not sure exactly how…any hints?