[…] A homework ? […]
It is sad if the OP doesn't come back.
Plese do not remove the original post.Now it is totally unclear what this topic was about.
As long as OP can generate this sequence he is on the right track. Code: [Select]1234...4321 Now, shall I publish some code?