Foreach numbersucesion

Hi,

The following post may help you.

Regards,