Numbers · Conflicting definitions

Whether the natural numbers include $0$ depends on the author. Set theory, logic, and computer science usually include it, while number theory and analysis often start at $1$.

Definitions

natural numbers (from 1)

Elementary

The natural numbers are the counting numbers $1, 2, 3, 4, \dots$

Undergraduate

The natural numbers are the set $\setdef{1, 2, 3, \dots}$ of positive integers, often written $\nats$, \(\mathbb{Z}_{> 0}\), or \(\nats_{+}\).

Examples
  • $1$
    $1$ is a natural number under both conventions: it is the first natural number when the natural numbers start at $1$, and the second when they start at $0$.
Non-examples
  • $0$
    $0$ is a natural number when the natural numbers start at $0$, but not when they start at $1$. It is the only number on which the two conventions disagree.

natural numbers (from 0)

Elementary

The natural numbers are the numbers $0, 1, 2, 3, \dots$ that can be used to answer questions about “how many?” objects there are.

Undergraduate

The natural numbers are the set $\setdef{0, 1, 2, 3, \dots}$ of nonnegative integers, often written $\nats$, \(\nats_0\), or \(\mathbb{Z}_{\geq 0}\).

Graduate (set theory)

The natural numbers are the smallest set that contains $0 = \emptyset$ and contains $n \cup \setdef{n}$ whenever it contains $n$ (the von Neumann construction). Each natural number is the set of all smaller natural numbers.

Examples
  • $1$
  • $0$
    $0$ is a natural number when the natural numbers start at $0$.
Non-examples

Examples

Example natural numbers (from 1) natural numbers (from 0) Why
$0$ ✗✓
$1$ ✓✓

Avoiding the ambiguity

When it matters whether $0$ is included, say so explicitly. Unambiguous notation includes \(\mathbb{Z}_{\geq 0}\) (or \(\nats_0\)) for $\setdef{0, 1, 2, \dots}$ and \(\mathbb{Z}_{> 0}\) (or \(\nats_{+}\)) for $\setdef{1, 2, 3, \dots}$.

Natural numbers that start at $0$ are also called whole numbers, mostly in schools.

See also

All distinctions · All definitions