type of patterns in math - Search