in reply to Looping array sequence

The OP was reposted, along with additional details, under the author's real ID here. I have posted a (probable) solution in that thread.