Generate a geometric sequence exactly, with its sum and, where the ratio is small enough, the limit of the infinite series.
Arithmetic Sequence Calculator
Generate an arithmetic sequence exactly, with its nth term and sum, and no accumulated floating-point drift.
- Free
- No sign-up
- Runs in your browser
Input
A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.
A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.
Ready
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter the first term, the common difference and how many terms you want.
- 2
Every term is computed as an exact fraction, so a difference of 0.1 does not drift.
Questions about Arithmetic Sequence Calculator
Why does a difference of 0.1 matter?
Because repeatedly adding 0.1 in floating-point arithmetic drifts: the eleventh term comes out as 1.0000000000000002 instead of 1, and the error grows with the sequence. Here the terms are exact fractions, so the eleventh term is exactly 1 however long the sequence.
How is the sum computed?
As n/2 times the sum of the first and last terms - the pairing trick attributed to Gauss. It is exact and takes one calculation rather than n additions, which matters for a thousand terms.
Is my data sent anywhere?
No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.
Does the Arithmetic Sequence Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Arithmetic Sequence Calculator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Arithmetic Sequence Calculator uploaded or stored?
No. The Arithmetic Sequence Calculator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Related tools
Other tools you might reach for next.
Generate exact Fibonacci numbers of any size, well past F(79) where floating-point implementations start returning wrong values.
Evaluate an expression with exact fraction arithmetic, trigonometry, logarithms and factorials, reporting whether the result is exact.
Reduce a fraction to lowest terms, with its mixed number and exact decimal form including any repeating block.
Add two fractions exactly, showing the common denominator step and reducing the result.
Subtract one fraction from another exactly, showing the common denominator step.
Multiply two fractions exactly, multiplying across and reducing the result.
Divide one fraction by another exactly, by multiplying by the reciprocal.