site:cuemath.com types of pattern in mathematics - Search