arithmetic pattern - Search