blinking LED's in series, trying it in c way

If you put pin numbers in an array the the relation between "led zero" (array indexes are 0, 1, 2,....) and the pin used is in the array. The pins can be in any order and skip pins you use for something else, the order is the array order and the pin numbers are only the values.

That is a form of indirection to use an index into an array to choose the right pin.