I often have to generate an arithmetic sequence so I created this simple online utility that does it for me. It lets you generate however many arithmetic series numbers you need in any base. It works in the browser and is powered by alien technology from the future.

Arithmetic Progression Generator Options

Start and Difference
Count and Separator
Base

Arithmetic Progression Generator Examples (click to try!)

Increasing Arithmetic Progression
In this example, we generate an increasing arithmetic progression with a difference of 5. We start the sequence from 0 and calculate the next 100 terms. The 100th term is 495.
0
5
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
95
100
105
110
115
120
125
130
135
140
145
150
155
160
165
170
175
180
185
190
195
200
205
210
215
220
225
230
235
240
245
250
255
260
265
270
275
280
285
290
295
300
305
310
315
320
325
330
335
340
345
350
355
360
365
370
375
380
385
390
395
400
405
410
415
420
425
430
435
440
445
450
455
460
465
470
475
480
485
490
495
Series starting value.
How many values to generate?
Series difference value.
Separate terms with this value.
Decreasing Arithmetic Sequence
This example uses a negative sequence step value equal to -3. This creates a descending arithmetic sequence. It calculates 30 values, separated by a comma, starting from 21.
21, 18, 15, 12, 9, 6, 3, 0, -3, -6, -9, -12, -15, -18, -21, -24, -27, -30, -33, -36, -39, -42, -45, -48, -51, -54, -57, -60, -63, -66
Series starting value.
How many values to generate?
Series difference value.
Separate terms with this value.
Constant Arithmetic Series
In this example, we set the delta to zero. All subsequent terms of the arithmetic series never change and are equal to the starting value of 2.
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
Series starting value.
How many values to generate?
Series difference value.
Separate terms with this value.

How Does This Arithmetic Progression Generator Work?

This arithmetic series generator works entirely in your browser and is written in JavaScript. The sequence terms are calculated by repeatedly adding the constant diff (difference; specified in options) to the previous term. To generate and store all terms, it creates an array called terms and push()es the start value (specified in options) into the terms array. Then, it creates a loop with the condition to stop when terms has reached count (sequence length; specified in options) members. In the loop, it adds diff to the last term and appends their sum to the end of all terms. The adding is performed through plus() function in the bignumber.js library. When terms has reached count members, the loop stops and all terms get converted to the selected output base via map() and toString(base) functions, and joined together through the join(separator) function.

Created by Browserling

This arithmetic progression generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by Browserling's programmer tools that are used by millions of people every month. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!

Secret message: If you love my tools, then I love you, too! Use coupon code COMLING to get a discount at my company Browserling.