A for( ) loop would work nicely.
BTW Suggest you never use delay( ) as nothing else runs while in the delay time.
Study BWD (blink without delay).
And
Study the State Machine method of writing sketches.