Sequence Detector and Next-Term Finder
Paste a sequence to find its rule, nth-term formula, next terms and the sum of n terms, with a difference table, a graph and a puzzle mode that hides the rule.
Tarayıcınızda çalışır. Dosyalarınız cihazınızdan asla çıkmaz. Nasıl kontrol edeceğinizi görün
…
Nasıl yapılır
- 1Enter the terms
Paste or type the sequence with commas or spaces, or tap an example.
- 2Read the rule
See the pattern type, the rule in words and the nth-term formula.
- 3Get more terms
Choose how many next terms to show and look up any term number and partial sum.
- 4Check the differences
Open the difference table to see each row of differences.
- 5See the graph
Plot the given and predicted terms against their position.
- 6Play puzzles
Use Puzzle mode to guess the next term of hidden-rule sequences at three levels.
Bu araç hakkında
"What comes next?" questions appear in maths lessons, aptitude tests and IQ-style puzzles, and the hard part is spotting which kind of rule is at work. Paste the terms and this detector tests them against the patterns students meet: arithmetic (a constant difference), geometric (a constant ratio), quadratic, cubic and quartic (constant second, third or fourth differences), Fibonacci-type and other two-term recurrences, differences that grow geometrically, two interleaved sequences, alternating signs, prime numbers and factorials. For the best match it gives the rule in words, the nth-term formula, as many next terms as you want, any term by its position and the sum of the first n terms, with the reasoning written out. A difference table shows the method of differences row by row, a graph plots the given and predicted terms, and a puzzle mode generates sequences at three levels, hides the rule and keeps your streak.
Who this is for
Students learning nth-term formulas at GCSE or in algebra courses, candidates for aptitude and reasoning tests, teachers making sequence puzzles, and anyone who has a list of numbers and wants to know the pattern.
Arithmetic and geometric sequences
An arithmetic sequence adds the same difference d each time, so aₙ = a₁ + (n − 1)d and the sum of the first n terms is Sₙ = n ÷ 2 × (2a₁ + (n − 1)d). A geometric sequence multiplies by the same ratio r, so aₙ = a₁ × r^(n − 1) and Sₙ = a₁(1 − rⁿ) ÷ (1 − r); when |r| < 1 the sums approach a₁ ÷ (1 − r).
The method of differences
Write the differences between neighbouring terms, then the differences of those, and so on. If the second differences are constant the sequence is quadratic, aₙ = an² + bn + c, with 2a equal to the second difference, 3a + b equal to the first difference and a + b + c equal to the first term. Constant third differences mean a cubic, and so on. The difference table tab lays this out exactly as you would on paper.
Recurrences and mixed patterns
If no polynomial fits, the detector looks for a rule of the form aₙ = p·aₙ₋₁ + q·aₙ₋₂, which includes the Fibonacci sequence (p = q = 1), and for differences that form a geometric sequence, such as 2, 3, 5, 9, 17. It also splits the sequence into odd and even positions to catch two interleaved patterns, and strips alternating signs.
Worked example
For 2, 5, 10, 17, 26 the first differences are 3, 5, 7, 9 and the second differences are all 2, so a = 1. Then 3a + b = 3 gives b = 0, and a + b + c = 2 gives c = 1. The nth term is n² + 1, the next terms are 37, 50 and 65, the 20th term is 401, and the sum of the first 20 terms is 2,890.
Limits
Any finite list fits infinitely many rules, so the detector picks the simplest standard pattern, which is what textbook questions expect, but a puzzle setter may have had another rule in mind. At least three terms are needed, four or more are much safer, and rules such as digit operations or letter positions are not recognised.
Çözümlü örnek
2, 5, 10, 17, 26: quadratic, aₙ = n² + 1, next 37, 50, 65. 3, 7, 11, 15: aₙ = 4n − 1. 2, 6, 18, 54: aₙ = 2 × 3^(n − 1).
Kısaca
- Kategori: Matematik ve bilim
- Tarayıcınızda çalışır, kayıt yok, yükleme yok.
- Girdiğiniz bilgiler cihazınızda kalır.
- İngilizce olarak mevcut.
- İçeriğin son gözden geçirilmesi:
- Resmî kaynak: OpenStax College Algebra 2e, chapter 9 Sequences, Probability and Counting Theory
Sık sorulan sorular
How many terms do I need to enter?
At least three, but four or five give a far more reliable answer. With only three terms almost any pattern can fit.
How do I find the nth term of a quadratic sequence?
Halve the constant second difference to get a, use the first difference to find b from 3a + b, and use the first term to find c from a + b + c. The tool shows these three lines for your sequence.
What is a Fibonacci-type sequence?
One where each term is the sum of the two before it, such as 2, 5, 7, 12, 19. The starting pair can be any two numbers.
Why does the tool list other rules that also fit?
Short sequences can satisfy more than one rule. The best match is shown first, and the others are listed so you can decide which one the question intends.
Can I enter fractions or negative numbers?
Yes. Type fractions as 1/2 and negatives with a minus sign; terms can be separated by commas or spaces.
How does puzzle mode work?
Pick a level and press Start. A sequence appears with its rule hidden; type the next term to check it, or reveal the rule and its explanation. Your best streak is saved on this device.
