Sequence Generator
5 modes · Charts · CSV export
Generate number sequences. Arithmetic, geometric, Fibonacci, random, or formula-based.
Ready to generate
Select a mode and enter values
About Sequence Generator
Pick a mode, set your parameters, and generate a sorted list of terms. Every calculation runs in your browser - nothing is sent to a server. You can view terms as a list, copy individual values, export to CSV, or view a lightweight SVG chart of the sequence.
The tool supports five generation modes: arithmetic (constant difference), geometric (constant ratio), Fibonacci (recurrence), random (bounded values), and formula (custom expression with variable n). Start and diff/ratio/range fields adapt to the selected mode.
Designed for math students, teachers, data analysts, and developers who need quick test data or want to explore numeric patterns without installing software.
Features & Highlights
- Five sequence modes: Arithmetic, Geometric, Fibonacci, Random, Formula
- Configurable term count from 1 to 200
- Inline SVG chart visualizing the sequence curve
- CSV export for use in spreadsheets and data tools
- Copy individual terms or the entire sequence
- All calculations run client-side for instant results
Sequence Generator FAQ
Find answers to common questions about generating number sequences, using formulas, and exporting results.
What is the difference between arithmetic and geometric sequences?
Arithmetic sequences add a constant difference between terms (e.g. 2, 5, 8, 11 with diff=3). Geometric sequences multiply by a constant ratio (e.g. 2, 6, 18, 54 with ratio=3).
How does the formula mode work?
Enter a JavaScript expression using the variable n (starting from 0). For example, '2 * n + 1' generates 1, 3, 5, 7 and 'Math.pow(2, n)' generates 1, 2, 4, 8. Only safe math functions and operators are allowed.
What is the maximum number of terms I can generate?
Up to 200 terms. The tool validates that values stay within safe numeric bounds and blocks non-finite or oversized results.
Can I export the sequence to Excel?
Yes. Use the CSV export button to download a .csv file. The first column is the index (1-based) and the second column is the term value. This file opens directly in Excel, Google Sheets, or any spreadsheet tool.
How does the chart work?
The chart is an inline SVG that plots each term's value against its index (position in the sequence). It updates instantly when you generate a new sequence. For large sequences (100+ terms), the chart shows the overall trend while keeping individual points visible.
Is my sequence data sent to a server?
No. All calculations run entirely in your browser using JavaScript. No data is sent to any server. This means results appear instantly with no network latency.