Discrete Math & Number Theory · Natural number

Natural number

The numbers used for counting: 0, 1, 2, 3, …. Adding or multiplying two natural numbers always gives a natural number; subtracting or dividing does not always.

Natural numbers in this visualization

The natural numbers are the numbers used for counting: 0,1,2,3,…0, 1, 2, 3, \dots, starting at 0 and going on by adding 1, with no largest. Their set is written N\mathbb{N}. On this page you take two of them, aa and bb, and one of the four operations: counters carry it out, the number line shows where the result lands, and a table of every aa and bb from 0 to 20 shows where the result is again a natural number.

The convention on this page
N={0,1,2,3,… }\mathbb{N} = \{0, 1, 2, 3, \dots\}

Is 0 a natural number?

There is no universal convention. This page follows the international standard ISO 80000-2, which includes 0: when there are none, the count is 0. Many books start at 1 instead. Where it matters, names that leave no doubt are used instead: the nonnegative integers {0,1,2,… }\{0, 1, 2, \dots\}, often written N0\mathbb{N}_0, and the positive integers {1,2,3,… }\{1, 2, 3, \dots\}, often written N+\mathbb{N}^{+} or Z+\mathbb{Z}^{+}. Before reading a formula elsewhere, check which one it means.

What the table shows

Putting two collections together and counting gives a count again, and so does aa rows of bb: sums and products of natural numbers are natural numbers, and the addition and multiplication tables are lit everywhere. Taking away works only when there is enough: a−ba - b is a natural number exactly when a≥ba \ge b, which is the diagonal of the subtraction table and the cells below it.

When b>0b > 0, sharing aa things equally into bb groups comes out exactly only when bb divides aa. Otherwise the natural numbers still say what happens, by division with remainder: a=qb+ra = qb + r with natural numbers qq, rr and 0≤r<b0 \le r < b. Seven shared into two groups gives 3 each and 1 over, 7=3×2+17 = 3 \times 2 + 1. Split the 1 left over as well and each group gets 3+123 + \tfrac{1}{2}, so the quotient 7÷2=3.57 \div 2 = 3.5 lies between 3 and 4. Division by 0 is another matter. a÷ba \div b is the number that gives aa when multiplied by bb, and every number times 0 is 0. So a÷0a \div 0 has no value when a≠0a \ne 0, and 0÷00 \div 0 has no single value. Either way it is undefined: not a number outside the natural numbers, but no result at all.

To make every subtraction possible the numbers are extended to the integers Z\mathbb{Z}, which add −1,−2,…-1, -2, \dots; to make every division by a nonzero number possible, to the rational numbers Q\mathbb{Q}. Division by 0 stays undefined at every stage.

Things to notice

  • 6÷26 \div 2 and 3.03.0 are natural numbers: both are 3, written differently. What counts is the number, not how it is written.

Controls

  • Click a cell of the table to choose aa and bb at once.

Related