Thousands of tools! Check out Online Tools – I have now added thousands of tools.
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
Arithmetic Progression Generator Examples (click to try!)
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
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
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
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 our web developer 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 TOOLLING to get a discount at my company.