how to figure out patterns - Search