Common Sequence Types
Arithmetic: an = a1 + (n-1)d (constant difference)
Geometric: an = a1 × rn-1 (constant ratio)
Fibonacci-like: an = an-1 + an-2
Enter a comma-separated sequence of numbers to detect the pattern and predict the next terms.
What would make it better?
Arithmetic: an = a1 + (n-1)d (constant difference)
Geometric: an = a1 × rn-1 (constant ratio)
Fibonacci-like: an = an-1 + an-2