Generate and analyze patterns, including those involving shapes, input/output diagrams, factors, multiples, prime numbers, and composite numbers.