👉 A sequence is a set of numbers that follows a specific pattern or rule. It can be defined as an ordered list of numbers, where each element in the sequence is determined by a formula or function applied to the previous element. Sequences are often used to represent mathematical functions and patterns, such as the Fibonacci sequence or the factorial function.