How can I code this in excel better?

I need to produce a set of numbers like:

(A,A+5,A+10,A+15,A+1,A+6,A+11,A+2,A+7,A... etc.)

It is not in sequence but more like a combination of sequences. Can it be done with less code?
Update: I forgot to add that the numbers must be produced by a macro. I'm not sure how it is written though.
1 answer 1