Generate an Arithmetic Sequence

Create an arithmetic sequence: each term is the previous one plus a constant difference. You set the first term (default 1), the common difference (default 2), how many terms to produce (default 10), and the separator (default a comma and a space).

This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.

How to build a sequence

1. Enter the first term, the common difference and the number of terms. 2. Change the separator if you want one number per line. 3. Copy the result.

With first term 1, difference 2 and 10 terms you get `1, 3, 5, 7, 9, 11, 13, 15, 17, 19`. A negative difference counts downwards, for example 10, then 7, then 4.

Privacy

The numbers are generated in this tab. Nothing is sent to a server. Very large term counts can produce a long result and may be slow to display.

Frequently asked questions

How is this different from “Generate numbers”?

Both add a step repeatedly. This page is named and defaulted as an arithmetic sequence (comma-separated). The other uses a newline separator by default. The math is the same idea.

Are the numbers uploaded?

No. They are created in the browser.

Can the difference be a decimal?

Yes, if you enter a decimal first term or difference, the terms follow that step.

What if I ask for zero terms?

You will get an empty result. The number of terms should be a non-negative integer.

More Number Tools