Numbers
Number Pattern Generator
Used by developers, writers, and creators worldwide.
A number pattern generator for teachers, students, and developers who need accurate sequences without manual calculation. Choose from Fibonacci, square numbers, triangular numbers, primes, powers of 2, or multiples of any integer — then set how many terms you want, up to the generator's limit. Results appear instantly and are ready to copy into worksheets, code, or lesson slides. The multiples option is especially flexible: enter any integer in the 'Multiple of' field and get an extended times table on demand. That means 30 multiples of 7, or 20 multiples of 13, in seconds — well beyond what printed resources usually show.
Loading usage…
Free forever — no account required
How to use
- Choose your options above
- Click Generate
- Copy your result
Detailed instructions
- Open the Pattern Type dropdown and select the sequence you want, such as Fibonacci, Primes, or Triangular.
- Set the Count field to the number of terms you need — try 20 for a detailed sequence or 10 for a quick example.
- If you selected Multiples, enter the base number in the 'Multiple of' field, for example 9 for the 9 times table.
- Click Generate to produce the sequence, then copy the output and paste it into your worksheet, code, or document.
Use Cases
- •Creating fill-in-the-gap sequence worksheets for Year 6 maths using Fibonacci or triangular numbers
- •Seeding a Jest test suite with deterministic square or prime number arrays to validate sorting functions
- •Building 'what comes next' quiz rounds for school maths competitions using primes or powers of 2
- •Generating extended multiples of any integer for LCM exercises beyond the standard 1–12 times tables
- •Producing a reference table of powers of 2 up to 30 terms for a computer science revision guide
Tips
- →Run Fibonacci and square numbers side by side to show students how growth rates differ — Fibonacci grows exponentially while squares grow polynomially.
- →For times-table worksheets targeting a specific class, set Multiples and use counts of 12 or 25 to match common curriculum formats.
- →Prime sequences get sparse quickly — use a count of 15 or fewer for puzzles so the gaps between primes don't become overwhelming.
- →Powers of 2 up to term 10 (512) are useful for binary conversion exercises; going to term 16 (32768) suits computer science memory lessons.
- →Combine triangular numbers with square numbers in a single worksheet to let students discover that the sum of two consecutive triangular numbers is always a square number.
- →When generating multiples for LCM problems, generate two different multiples sequences and have students find the first number that appears in both lists.
FAQ
how to generate a fibonacci sequence quickly for a worksheet or lesson
Select 'Fibonacci' from the Pattern Type dropdown, set the term count to however many you need (15 is the default), and copy the output straight into your document. The sequence starts 0, 1, 1, 2, 3, 5, 8 and each term is the sum of the two before it. Ratio between consecutive terms converges toward 1.618, the golden ratio, which makes it useful for art and design projects too.
what's the difference between triangular numbers and square numbers
Square numbers are integers raised to the power of 2 (1, 4, 9, 16, 25…) and represent the area of squares with whole-number sides. Triangular numbers count dots arranged in equilateral triangles (1, 3, 6, 10, 15…) and follow the formula n(n+1)/2. Both sequences are good for teaching parity and are common in combinatorics and staircase-style problems.
can I use generated number sequences as test data in code
Yes — every sequence here is deterministic and mathematically structured, which makes it reliable for unit tests and algorithm validation. Copy the output and paste it directly as an array in Python, JavaScript, or any language. Primes and powers of 2 are especially useful for testing modular arithmetic or bitwise functions.