Question: what is the difference between a function and sequence?
Answer: A sequence is a type of function. Remember, a function is any formula that can be expressed as "f(x) = x" format, but a sequence only contains integers at or greater than zero.