need a simple integer pattern algorithm

Printable View