Arithmetic Sequence Calculator
Calculate the nth term, sum of n terms, common difference, and generate arithmetic sequences with visual growth charts and partial sums.
Find consecutive integers that sum to a target value, generate integer sequences, and explore even and odd consecutive integers with formulas and visualizations.
| Position | Value | Cumulative Sum | Valueยฒ | % of Total |
|---|---|---|---|---|
| 1 | 6 | 6 | 36 | 28.57% |
| 2 | 7 | 13 | 49 | 33.33% |
| 3 | 8 | 21 | 64 | 38.10% |
| Property | Formula | Value |
|---|---|---|
| Sum of n integers from a | n/2 ร (2a + (nโ1)d) | 21 |
| Average | (first + last) / 2 | 7.0000 |
| Count | (last โ first)/d + 1 | 3 |
| Sum of squares | ฮฃ xแตขยฒ | 149 |
| Variance | ฮฃ(xแตขโฮผ)ยฒ/n | 0.6667 |
The Consecutive Integers Calculator helps you find and analyze sequences of consecutive integers โ numbers that follow each other in order without gaps. Whether you need to find three consecutive integers that sum to a specific target, generate a long sequence starting from a given value, or explore even and odd consecutive number patterns, the page covers the main cases on one setup.
Consecutive integer problems appear frequently in algebra courses, competitive math, and standardized tests like the SAT and GRE. They also arise in real-world scenarios such as distributing items evenly, scheduling blocks of time, or solving number puzzles. The underlying math relies on arithmetic sequence formulas: the sum of n consecutive integers starting at a is n/2 ร (2a + (nโ1)), making it straightforward to derive the first term when the sum and count are known.
This calculator supports three types of consecutive integers โ all (step 1), even (step 2, starting from an even number), and odd (step 2, starting from an odd number). In "sum" mode it reverse-engineers the starting integer from your target sum, while "generate" mode builds a sequence forward from any starting point. For every computed sequence you get detailed stats โ sum, average, product, range, sum of squares, and a term-by-term breakdown table โ plus a visual bar chart that makes the distribution of values immediately clear. Use the eight presets to load classic consecutive integer problems quickly, or enter your own parameters for custom analysis.
Consecutive-integer problems are simple in structure but easy to set up incorrectly when the count, step size, or parity changes. This calculator keeps the sequence, sum, average, and derived statistics together so you can check whether the generated integers actually match the condition you started with.
It is especially useful when moving between forward generation and reverse solving. The same page can build a sequence from a starting value or work backward from a target sum, which makes it practical for textbook word problems and pattern exploration.
Sum = n/2 ร (2a + (n โ 1)d), where n = count, a = first term, d = step (1 for all, 2 for even/odd). Solving for a: a = (S/n) โ (n โ 1)d/2.Result: Computed from the entered values
Using target=21, count=3, start=1, mode=sum, the calculator returns Computed from the entered values. This example mirrors the calculator's live computation flow and is useful for checking manual steps and unit handling.
This page is designed for sequence problems built from consecutive integers, consecutive even integers, or consecutive odd integers. It can either generate the terms from a start value or solve backward from a target sum.
Start with the sequence itself, then confirm the sum and average. If you are solving from a target, those checks are the quickest way to verify that the derived starting value is actually correct.
Try one all-integers example, one even-only example, and one odd-only example. Comparing those side by side is one of the fastest ways to see how the step size changes the arithmetic-sequence formula.
Last updated:
Consecutive integers are whole numbers that follow each other in order, each differing by 1 (e.g., 5, 6, 7, 8). Consecutive even integers differ by 2 and are all even (e.g., 4, 6, 8), and consecutive odd integers differ by 2 and are all odd (e.g., 3, 5, 7).
Yes. If the target sum is small enough relative to the count, the first integer can be zero or negative. For example, 5 consecutive integers summing to 0 would be โ2, โ1, 0, 1, 2.
A solution exists only when the formula yields a whole number for the first term. For instance, 2 consecutive integers cannot sum to 4 (would require starting at 1.5). Changing the count or target often resolves this.
Consecutive integers are a special case of arithmetic sequences with a common difference of 1 (or 2 for even/odd). All arithmetic sequence formulas apply.
The calculator supports up to 100 consecutive integers in a single sequence, which is more than enough for most academic and practical scenarios.
This calculator focuses on integers only. For sequences with fractional common differences, use an arithmetic sequence calculator instead.
Calculate the nth term, sum of n terms, common difference, and generate arithmetic sequences with visual growth charts and partial sums.
Identify and compute arithmetic, geometric, Fibonacci, triangular, and other number sequences. Find the nth term, sum, and pattern analysis for common sequences.
Compute partial sums of arithmetic, geometric, telescoping, p-series, and power sum series with convergence analysis and visualization.