I often have to generate a sequence of odd numbers so I created this simple utility that does it for me. It lets you generate however many odd numbers you need, starting from any value. It works in the browser and is powered by alien technology from the future.

Odd Number Sequence Generator Options

Type, Start and Count
Odd Number Separator
Output Base

Odd Number Sequence Generator Examples (click to try!)

Positive Odd Numbers
This example calculates positive (greater than 0) odd numbers. The first such number is 1. The list then continues with 3, 5, 7, and so on. The delimiter is set to a comma and fifteen odd numbers are generated.
1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29
Increasing Odd Numbers
Generate this many odd numbers.
Starting value.
Separate odd numbers with this character.
Decimal Base
Negative Octal Odd Numbers
In this example, we print twenty negative (less than 0) odd numbers. The first negative odd number is -1, the second is -3, then -5, and so on. After twenty negative odd values are calculated, they are converted to the octal base and printed through the line break symbol.
-1
-3
-5
-7
-11
-13
-15
-17
-21
-23
-25
-27
-31
-33
-35
-37
-41
-43
-45
-47
Decreasing Odd Numbers
Generate this many odd numbers.
Starting value.
Separate odd numbers with this character.
Octal Base
Base-11 Odd Numbers
This example generates a list of base-11 odd numbers. The list starts at the odd number 501 and continues to 1001 (total of 251 odd numbers). The base-11 uses the first 10 regular digits and then also the letter "a" as the 11th value.
416; 418; 41a; 421; 423; 425; 427; 429; 430; 432; 434; 436; 438; 43a; 441; 443; 445; 447; 449; 450; 452; 454; 456; 458; 45a; 461; 463; 465; 467; 469; 470; 472; 474; 476; 478; 47a; 481; 483; 485; 487; 489; 490; 492; 494; 496; 498; 49a; 4a1; 4a3; 4a5; 4a7; 4a9; 500; 502; 504; 506; 508; 50a; 511; 513; 515; 517; 519; 520; 522; 524; 526; 528; 52a; 531; 533; 535; 537; 539; 540; 542; 544; 546; 548; 54a; 551; 553; 555; 557; 559; 560; 562; 564; 566; 568; 56a; 571; 573; 575; 577; 579; 580; 582; 584; 586; 588; 58a; 591; 593; 595; 597; 599; 5a0; 5a2; 5a4; 5a6; 5a8; 5aa; 601; 603; 605; 607; 609; 610; 612; 614; 616; 618; 61a; 621; 623; 625; 627; 629; 630; 632; 634; 636; 638; 63a; 641; 643; 645; 647; 649; 650; 652; 654; 656; 658; 65a; 661; 663; 665; 667; 669; 670; 672; 674; 676; 678; 67a; 681; 683; 685; 687; 689; 690; 692; 694; 696; 698; 69a; 6a1; 6a3; 6a5; 6a7; 6a9; 700; 702; 704; 706; 708; 70a; 711; 713; 715; 717; 719; 720; 722; 724; 726; 728; 72a; 731; 733; 735; 737; 739; 740; 742; 744; 746; 748; 74a; 751; 753; 755; 757; 759; 760; 762; 764; 766; 768; 76a; 771; 773; 775; 777; 779; 780; 782; 784; 786; 788; 78a; 791; 793; 795; 797; 799; 7a0; 7a2; 7a4; 7a6; 7a8; 7aa; 801; 803; 805; 807; 809; 810; 812; 814; 816; 818; 81a; 821; 823; 825; 827; 829; 830
Increasing Odd Numbers
Generate this many odd numbers.
Starting value.
Separate odd numbers with this character.
Custom Base
Specify the custom base here. (Works from 2 to 64.)

How Does This Odd Number Sequence Generator Work?

This odd number list generator works entirely in your browser and is written in JavaScript. It stores the output sequence in an array output, which is initialized with the starting odd value (specified in options). If the starting value is not odd, 1 is subtracted or added to it so that the sequence started with an odd number. Every next output number is calculated by calculating +2 or -2 of the previous number. As odd numbers are always separated by 2, then this calculation makes sure all numbers in the output list are odd. The output list gets updated with new values as long as output.length is less than count (odd number count, specified in options). When the list reaches this length, it's prepared for printing. First, every calculated odd number is converted to the output base (specified in options), and then this list is join(sep). This function joins all odd numbers by sep separator string.

Created by Browserling

This odd number sequence generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by our 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 TOOLLING to get a discount at my company.