example of pattern in math - Search