Skip to content
Number Buffet

Counting numbers

One, two, three and onward — the natural numbers in order, from any starting point, at any stride.

OEIS A000027 · 3 min read

Settings

Quick presets

Terms are produced in ascending order from the starting value.

One by the older convention, zero by the ISO one. Both are offered; negative starts are not, because a run through them is no longer a counting sequence.

The gap between consecutive terms. A step of 1 counts; larger steps give the multiples.

Group long terms as 1,000,000 for readability.

Fine-tune the look

Pick a preset next to the image first — these controls adjust it.

Frame

A border drawn inside the edge of the image.

Advanced

Results

25 values

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25


Make an image

Turn on JavaScript to style and download these numbers as an image. The values themselves are listed above.

Text on the image

Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.

About counting numbers

Counting is older than writing. The Lebombo bone, a baboon fibula from the Border Cave in Eswatini carrying twenty-nine notches, has been dated to roughly 42,000 years ago; the Ishango bone from the Democratic Republic of the Congo, with its three grouped columns of tallies, is perhaps 20,000. What such objects record is disputed — lunar counts, trade, something else entirely — but the method is not. A notch stands for a thing, and the notches are read in order.

Defining what was being counted took far longer. Greek arithmetic began at two, since monas, the unit, was treated as the thing numbers were made of rather than a number itself, and zero was not a quantity at all. Zero arrives as a full number in India: Brahmagupta's Brāhmasphuṭasiddhānta of 628 CE gives rules for arithmetic with it, including the observation that a number minus itself is zero.

The modern footing is nineteenth-century. Hermann Grassmann showed in 1861 that addition and multiplication could be built up recursively from the successor operation alone. Richard Dedekind set out a set-theoretic treatment in Was sind und was sollen die Zahlen? in 1888, and Giuseppe Peano published his axioms the following year — a starting element, a successor function that never repeats itself or returns to the start, and induction. Everything arithmetic says about the counting numbers follows from those.

The disagreement about zero never resolved; it was standardised twice. ISO 80000-2 includes zero in the natural numbers, which is the usual convention in set theory and computer science, while much of number theory still starts at one. Both are current, so careful writing names which it means.

Key properties

  • The counting numbers are closed under addition and multiplication: adding or multiplying two of them always gives another. Subtraction and division are not closed, which is what forces the integers and the rationals.
  • Every non-empty set of counting numbers has a least member. This well-ordering principle is equivalent to the principle of mathematical induction.
  • Peano’s axioms characterise them from a first element and a successor function: no two numbers share a successor, the first element is nobody’s successor, and any property holding at the start and inherited by successors holds everywhere.
  • The sum of the first n counting numbers is n(n+1)/2, the nth triangular number: 1 + 2 + 3 + 4 + 5 = 15.
  • Every counting number greater than 1 factors into primes in exactly one way up to order — the fundamental theorem of arithmetic.
  • The set is infinite but countable, with cardinality ℵ₀. Cantor showed in 1874 that the real numbers are not countable, so not all infinities are the same size.
  • Whether zero belongs is a convention, not a fact. ISO 80000-2 includes it; much of number theory does not. The terms "positive integers" and "non-negative integers" are unambiguous where it matters.

Where they turn up

  • Array indexing splits on the same question as zero does. Edsger Dijkstra argued for zero-based indexing in his 1982 note Why numbering should start at zero, on the grounds that it makes the subscript range half-open and the length arithmetic subtraction-free; C, Python and Java follow it, while Fortran, MATLAB, R and Lua count from one.
  • Gödel’s incompleteness theorems, published in 1931, are statements about exactly this sequence: any consistent formal system strong enough to express arithmetic on the counting numbers contains true statements it cannot prove.
  • Street numbering, page numbers, invoice sequences and database auto-increment keys all lean on the same property — that the successor is always available, so a new item can always be added at the end without renumbering what came before.
  • The Hilbert hotel, a thought experiment David Hilbert used in a 1925 lecture, turns the countability of this sequence into a paradox: a hotel with a room for every counting number, all occupied, can still take a new guest by moving everyone up one room.

How to use this generator

The generated values appear at the top, with a copy button beside them. To turn them into an image, pick a look from the style presets under Make an image, choose an export size, and download as PNG, JPEG or WebP. Everything is rendered in your browser, so nothing you generate is sent to a server.

The address bar updates as you work, so the link always reproduces exactly what you see — handy for sharing a specific sequence or saving a configuration for later. Use Copy to take the values as plain text, or Export data for CSV, JSON, NDJSON, SQL or XML.

Sources

Historical summaries on this page draw on the openly licensed references listed above. Spotted an error? Tell us and we will fix it.