sequencial numbering with pattern