Calculator
What the Sequence Calculator does
Sequence Calculator: calculates aₙ and Sum Sₙ from First Term a₁, Common Difference d and Term Number n. Example: first term a₁ 2, common difference d 3 and term number n 10 gives aₙ 29.000000.
Point it at First Term a₁, Common Difference d and Term Number n and it returns aₙ and Sum Sₙ. The result recalculates on every keystroke without a button press or a page reload.
It is mostly used by people who want the working shown. Checking a result a second way is the cheapest way to catch an arithmetic slip.
Everything happens inside this page. Nothing you type is sent to a server, and there is nothing for us to store.
The sections that follow cover the fields, the method, and one full example computed from the defaults.
What do the Sequence Calculator fields mean?
The Sequence Calculator uses 3 inputs. The form opens pre-filled, so the fastest way in is usually to overwrite the one field you actually care about.
| Field | What to enter | Default |
|---|---|---|
| First Term a₁ | required | 2 |
| Common Difference d | required | 3 |
| Term Number n | required | 10 |
How does the Sequence Calculator work?
Each output is derived from the inputs above in a single pass; there is no hidden state carried between runs, so the same inputs always give the same calculation.
Range checks come first, so the formula only ever sees values it can handle.
Worked example
These are the values the Sequence Calculator loads by default, and the result it produces from them. These are the tool’s own default values and the result they produce, not an invented illustration.
| First Term a₁ | 2 |
|---|---|
| Common Difference d | 3 |
| Term Number n | 10 |
| aₙ | 29.000000 |
|---|---|
| Sum Sₙ | 155.000000 |
| What this means | aₙ = a₁+(n−1)d = 29 |
Beyond the formula: arithmetic sequences
This tool computes arithmetic sequences specifically, where each term increases by the same fixed amount, a different family from geometric sequences, where each term is multiplied by a fixed ratio. Using this formula on a geometric sequence’s terms gives a plausible-looking but wrong answer.
Common mistakes and sanity checks
- The sum formula (n/2 × (2a₁ + (n−1)d)) is derived from pairing the first and last terms, which always sum to the same value in an arithmetic sequence: a trick famously attributed to a young Gauss summing 1 to 100.
- A common off-by-one error is confusing "n," the number of terms, with "n−1," the number of steps taken from the first term. The formula uses (n−1) precisely because reaching the first term itself requires zero steps.
- If the common difference is negative, the sequence decreases rather than increases, and the sum formula still works correctly without modification: the arithmetic doesn’t care about the sign of d.
How to use it
- Enter First Term a₁.
- Set Common Difference d.
- Put Term Number n.
- The result appears as you type. There is no button to press.
- You get aₙ, Sum Sₙ and What this means back.
- Both Copy Link and Print capture the current state, so pick whichever suits how you file things.
What this tool does not do
- Displayed values are rounded; the underlying calculation keeps full precision.
- Very large or very small numbers hit JavaScript floating-point limits (about 15 significant digits).
- There is no audit trail: if you need one, record the inputs alongside the output.
Frequently asked questions
The form asks for First Term a₁, Common Difference d and Term Number n. A starting value is in place for each, which makes it easy to isolate the effect of a single variable.
With the values loaded when the page opens, aₙ comes out as 29.000000. It recalculates the moment an input changes, which makes comparing scenarios quick.
No. Your browser is doing the computing, so we could not see the values even if we wanted to.
It costs nothing, and there is no limit on repeat use.
Full double precision is used throughout; only the displayed figure is shortened.