Type the terms and get the pattern, the nth-term rule and the next numbers. 2, 6, 18, 54 multiplies by 3, so the next term is 162. 93, 64, 35 subtracts 29, so the next is 6, and 3, 7, 13, 21, 31 follows n² + n + 1, so the next is 43.
It checks arithmetic, geometric, quadratic, cubic, Fibonacci-type and alternating patterns with exact fractions, and shows the differences or ratios it used.
Separate terms with commas or spaces. Whole numbers, decimals and fractions (1/2) work. Results update as you type.
Geometric sequence
Next: 162, 486, 1458, 4374, 13122
Multiply by 3 each time (common ratio r = 3).
aₙ = 2 · 3ⁿ⁻¹
An arithmetic sequence that goes down.
Next term 6, then −23, −52. Rule aₙ = 122 − 29n.
The gaps get bigger, so check the second differences.
aₙ = n² + n + 1; the next term is 6² + 6 + 1 = 43.
A geometric sequence with a fractional ratio.
Next term 1, then 1/3 and 1/9. Rule aₙ = 81 · (1/3)ⁿ⁻¹.
Press Explain the steps with AI under any answer and the MathAI GPT math solver opens with your numbers already filled in, then explains the method line by line and answers follow-up questions. You can also type or photograph the whole question. On your phone, use MathAI GPT for iPhone or MathAI GPT for Android.
Check the differences between neighbouring terms first. If they are all the same, add that difference again (93, 64, 35 → subtract 29 → 6). If not, check the ratios: 2, 6, 18, 54 multiplies by 3 each time, so the next term is 162. If the differences themselves grow by a constant amount, the sequence is quadratic.
aₙ = a₁ + (n − 1)d, where a₁ is the first term and d is the common difference. For 5, 8, 11, 14, d = 3, so aₙ = 5 + 3(n − 1) = 3n + 2 and the 20th term is 62.
aₙ = a₁ · rⁿ⁻¹, where r is the common ratio. For 81, 27, 9, 3, r = 1/3, so aₙ = 81 · (1/3)ⁿ⁻¹ and the next term is 1.
If the second differences are constant, the rule is an² + bn + c with 2a equal to the second difference. For 3, 7, 13, 21, 31 the first differences are 4, 6, 8, 10 and the second differences are 2, so a = 1; solving with the first terms gives aₙ = n² + n + 1, and the next term is 43.
Arithmetic (constant difference), geometric (constant ratio), quadratic and cubic (constant second or third differences), Fibonacci-type (each term is the sum of the two before) and two alternating arithmetic sequences. If none fits, it says so instead of guessing, and the AI solver can look for other rules such as primes or digit patterns.
Any three numbers fit a quadratic rule, so three terms cannot prove a pattern is quadratic. With four or more terms the calculator can confirm that the second differences really are constant. Arithmetic and geometric rules are checked from three terms.